gest366/modules/importa_an/actions.php

31 lines
647 B
PHP
Raw Normal View History

2021-02-24 20:40:04 +00:00
<?php
//echo 'permessi action prima: '.$permessi[$module_name];
include_once("../../core.php");
$module_name = "Csv To Anagrafiche";
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_an/upload_modules.php" );
}
array_push( $_SESSION['infos'], "Inserimento effettuato corretamente." );
break;
}
?>