Go to the documentation of this file.00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 require_once '../include/constant.php';
00027 require_once('class_database.php');
00028 require_once('class_dossier.php');
00029 require_once("ac_common.php");
00030 require_once("constant.php");
00031 require_once('function_javascript.php');
00032 require_once('class_extension.php');
00033 require_once ('class_html_input.php');
00034 require_once('class_iselect.php');
00035 require_once ('constant.security.php');
00036 require_once ('class_user.php');
00037
00038 global $g_user,$cn,$g_parameter;
00039
00040 $cn=new Database(dossier::id());
00041 $g_user=new User($cn);
00042 $g_user->check();
00043 $only_plugin=$g_user->check_dossier(dossier::id());
00044
00045 $ext=new Extension($cn);
00046
00047 if ( $ext->search($_REQUEST['plugin_code']) != -1 )
00048 {
00049
00050 if ( !isset ($_SESSION['g_user']) || $ext->can_request($_SESSION['g_user']) == 0 )
00051 {
00052 exit();
00053 }
00054
00055 require_once('ext'.DIRECTORY_SEPARATOR.dirname(trim($ext->get_parameter('me_file'))).DIRECTORY_SEPARATOR.'raw.php');
00056 }
00057 else
00058 {
00059 alert(j(_("Cette extension n'existe pas ")));
00060 exit();
00061 }
00062 ?>