Source for file _ajax_filelist.php
Documentation is available at _ajax_filelist.php
* @package linea21.modules
* @author Simon Georget <simon@linea21.com>
* @license http://opensource.org/licenses/gpl-3.0.html
include_once('../lib/functions_auth.php');
include_once('../config/define.php');
include_once('../lib/lib_common.php');
if(isset ($_GET['upfiles'])) {
$filename = cleanString($filename_parts['filename']). '.'. $filename_parts['extension'];
////////////////////////////////////////
include_once('../class/system/class.'. SQL. '.php');
$GLOBALS['sql_object'] = new $sql_entity;
$GLOBALS['sql_object'] -> DBInitialise();
$GLOBALS['sql_object'] -> DBConnexion();
//////////// Check Droits utilisateur ////////////
include_once('../languages/' . U_L . '/lang_workshop.' . CHARSET . '.php');
include_once('../languages/' . U_L . '/lang_common.' . CHARSET . '.php');
// necessary includes for ajax calls
include_once('../languages/' . U_L . '/lang_comment.' . CHARSET . '.php');
include_once(themePath('../comment/'. SQL. '.inc.php'));
include_once(themePath('../workshop/display.php'));
notifyUsersMsg(array('action' => 'file_alert', 'files' => $files, 'id' => $id));
|