Use a variable for an absolute path for performance reason
NOALYSS_INCLUDE NOALYSS_HOME NOALYSS_PLUGIN
This commit is contained in:
parent
da382a11d5
commit
8f265c7bbc
278 changed files with 1092 additions and 1073 deletions
|
|
@ -26,7 +26,7 @@ if ( !defined ('ALLOWED')) die('Forbidden');
|
|||
* action=user_mgt
|
||||
*
|
||||
*/
|
||||
require_once 'class_sort_table.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_sort_table.php';
|
||||
echo '<div class="content" style="width:80%;margin-left:10%">';
|
||||
/******************************************************/
|
||||
// Add user
|
||||
|
|
@ -55,7 +55,7 @@ if ( isset ($_POST["ADD"]) )
|
|||
$new_user->insert();
|
||||
$new_user->load();
|
||||
$_REQUEST['use_id']=$new_user->id;
|
||||
require_once("user_detail.inc.php");
|
||||
require_once NOALYSS_INCLUDE.'/user_detail.inc.php';
|
||||
return;
|
||||
|
||||
}
|
||||
|
|
@ -64,7 +64,7 @@ if ( isset ($_POST["ADD"]) )
|
|||
// View user detail
|
||||
if ( isset($_REQUEST['det']))
|
||||
{
|
||||
require_once("user_detail.inc.php");
|
||||
require_once NOALYSS_INCLUDE.'/user_detail.inc.php';
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue