Use a variable for an absolute path for performance reason

NOALYSS_INCLUDE
NOALYSS_HOME
NOALYSS_PLUGIN
This commit is contained in:
Dany De Bontridder 2015-08-11 11:05:54 +02:00
parent da382a11d5
commit 8f265c7bbc
278 changed files with 1092 additions and 1073 deletions

View file

@ -27,9 +27,9 @@
*
*/
if ( !defined ('ALLOWED')) die('Forbidden');
require_once("class_itext.php");
require_once("class_icheckbox.php");
require_once ('class_extension.php');
require_once NOALYSS_INCLUDE.'/class_itext.php';
require_once NOALYSS_INCLUDE.'/class_icheckbox.php';
require_once NOALYSS_INCLUDE.'/class_extension.php';
$sa = (isset($_REQUEST['sa'])) ? $_REQUEST['sa'] : 'list';
if (isset($_POST['upd']) &&
@ -217,7 +217,7 @@ if (isset($_POST["FMOD_NAME"]))
}
// Show all available templates
require_once('class_sort_table.php');
require_once NOALYSS_INCLUDE.'/class_sort_table.php';
$url=$_SERVER['PHP_SELF']."?sa=list&action=".$_REQUEST['action'];
$header=new Sort_Table();