aboutsummaryrefslogtreecommitdiffstats
path: root/admin.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/admin.php b/admin.php
index 5105d9ea3..5707cca0f 100644
--- a/admin.php
+++ b/admin.php
@@ -17,7 +17,9 @@
* *
***************************************************************************/
-//----------------------------------------------------------- personnal include
+//----------------------------------------------------------- include
+$phpwg_root_path = './';
+include_once( $phpwg_root_path.'common.php' );
include_once( './admin/include/isadmin.inc.php' );
//----------------------------------------------------- template initialization
$vtp = new VTemplate;
@@ -34,6 +36,7 @@ if ( is_file( './install.php' ) )
//--------------------------------------- validating page and creation of title
$page_valide = false;
$title = '';
+if (isset( $_GET['page'] ))
switch ( $_GET['page'] )
{
case 'user_list':