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

@ -19,8 +19,8 @@
// Copyright Author Dany De Bontridder danydb@aevalys.eu
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_acc_payment.php');
require_once 'class_sort_table.php';
require_once NOALYSS_INCLUDE.'/class_acc_payment.php';
require_once NOALYSS_INCLUDE.'/class_sort_table.php';
//---------------------------------------------------------------------------
// Common variable
$td='<TD>';
@ -142,7 +142,7 @@ $array=$cn->get_array("
if ( ! empty ($array))
{
require_once 'template/list_mod_payment.php';
require_once NOALYSS_INCLUDE.'/template/list_mod_payment.php';
echo HtmlInput::button_anchor("Ajout", $base_url."&sb=ins","","","smallbutton");
}
echo '</div>';