[phpMP-CVS] CVS: phpMP/admin index.php,1.8,1.9 main.php,1.7,1.8 nav.php,1.6,1.7
Status: Pre-Alpha
Brought to you by:
heimidal
From: Gordon P. H. <gph...@us...> - 2003-06-29 19:38:22
|
Update of /cvsroot/phpmp/phpMP/admin In directory sc8-pr-cvs1:/tmp/cvs-serv14472/admin Modified Files: index.php main.php nav.php Log Message: I updated a few remaining variables of PHPMP_ROOT to C_PHPMP_ROOT. I also fixed the Admin Panel by correcting the define()'s because the variables were not surrounded by ' (as in 'VARIABLE'). - GPHemsley Index: index.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/admin/index.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** index.php 29 Jun 2003 08:19:55 -0000 1.8 --- index.php 29 Jun 2003 19:38:19 -0000 1.9 *************** *** 23,27 **** */ ! define( C_PHPMP_ROOT, '../' ); include_once( C_PHPMP_ROOT . 'includes/core.php' ); --- 23,27 ---- */ ! define( 'C_PHPMP_ROOT', '../' ); include_once( C_PHPMP_ROOT . 'includes/core.php' ); *************** *** 29,33 **** $Core = new Core(); ! $Core->init(); /******* Commented for Testing ******* --- 29,33 ---- $Core = new Core(); ! //$Core->init(); /******* Commented for Testing ******* Index: main.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/admin/main.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** main.php 29 Jun 2003 08:19:55 -0000 1.7 --- main.php 29 Jun 2003 19:38:19 -0000 1.8 *************** *** 23,39 **** */ ! // Action definitions ! define( C_ACTION_NONE, 0 ); ! define( C_ACTION_SITE, 1 ); ! define( C_ACTION_USER, 2 ); ! define( C_PARSE_USER, 3 ); ! ! define( C_PHPMP_ROOT, '../' ); ! include_once( C_PHPMP_ROOT . 'includes/core.php' ); $Core = new Core(); ! $Core->init(); // Main administration file - just shows site stats, etc... --- 23,38 ---- */ ! define( 'C_PHPMP_ROOT', '../' ); ! include_once( C_PHPMP_ROOT . 'includes/core.php' ); ! // Action definitions ! define( 'C_ACTION_NONE', 0 ); ! define( 'C_ACTION_SITE', 1 ); ! define( 'C_ACTION_USER', 2 ); ! define( 'C_PARSE_USER', 3 ); $Core = new Core(); ! //$Core->init(); // Main administration file - just shows site stats, etc... Index: nav.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/admin/nav.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** nav.php 29 Jun 2003 08:19:55 -0000 1.6 --- nav.php 29 Jun 2003 19:38:19 -0000 1.7 *************** *** 25,29 **** // Basic Navigation (not very pretty, just a throw-together for testing ! define( C_PHPMP_ROOT, '../' ); include_once( C_PHPMP_ROOT . 'includes/core.php' ); --- 25,29 ---- // Basic Navigation (not very pretty, just a throw-together for testing ! define( 'C_PHPMP_ROOT', '../' ); include_once( C_PHPMP_ROOT . 'includes/core.php' ); *************** *** 31,35 **** $Core = new Core(); ! $Core->init(); /******* Comented for Testing ******* --- 31,35 ---- $Core = new Core(); ! //$Core->init(); /******* Comented for Testing ******* |