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

@ -23,10 +23,10 @@ if ( !defined ('ALLOWED')) die('Forbidden');
* \brief Management of the folder
*
*/
require_once "class_itext.php";
require_once "class_icheckbox.php";
require_once "class_itextarea.php";
require_once 'class_html_input.php';
require_once NOALYSS_INCLUDE.'/class_itext.php';
require_once NOALYSS_INCLUDE.'/class_icheckbox.php';
require_once NOALYSS_INCLUDE.'/class_itextarea.php';
require_once NOALYSS_INCLUDE.'/class_html_input.php';
$sa=(isset($_REQUEST['sa']))?$_REQUEST['sa']:'list';
//---------------------------------------------------------------------------
@ -174,7 +174,7 @@ if ( isset ($_POST["DATABASE"]) )
// List of folder
if ( $sa == 'list' )
{
require_once('class_sort_table.php');
require_once NOALYSS_INCLUDE.'/class_sort_table.php';
echo '<p>';
echo HtmlInput::button(_('Ajouter'),_('Ajouter un dossier')," onclick=\$('folder_add_id').show()");
echo '</p>';