gest366/modules/importa_art/actions.php

17 lines
559 B
PHP
Raw Permalink Normal View History

2021-02-24 20:40:04 +00:00
<?php
include_once("../../core.php");
$module_name = "Csv To Articoli";
include_once($docroot."/config.inc.php");
include_once($docroot."/lib/user_check.php");
include_once($docroot."/lib/permissions_check.php");
$id = $html->form('id', 'post');
switch( $html->form('op', 'post') ){
case "upload":
if( $modules_info[$module_name]["permessi"] == 'rw' ){
include( $docroot."/modules/importa_art/upload_modules.php" );
}
array_push( $_SESSION['infos'], "Inserimento effettuato corretamente." );
break;
}
?>