Update of /cvsroot/phpmp/phpMP
In directory sc8-pr-cvs1:/tmp/cvs-serv10803
Modified Files:
config.php index.php
Log Message:
Fixed a few things. Removed redudant lines in template.php (redundant if initialized by Core). Config.php should always remain empty in CVS. Started work on debug interface. Lastly, autologin will now work as I want it to.
Index: config.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/config.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** config.php 1 May 2003 21:59:30 -0000 1.2
--- config.php 2 May 2003 04:52:56 -0000 1.3
***************
*** 1,18 ****
- <?php
-
- ## DO NOT ALTER THIS FILE.
- ## This file is automatically generated
- ## by the phpMP install script. Do not
- ## alter this file if you don't know
- ## what you're doing.
-
- define( "PHPMP_INSTALLED", TRUE );
-
- define( "DB_TYPE", "mysql" );
- define( "DB_HOST", "localhost" );
- define( "DB_NAME", "phpmp" );
- define( "DB_TABLE_PREFIX", "phpmp_" );
- define( "DB_USER", "" );
- define( "DB_PASSWD", "" );
-
- ?>
\ No newline at end of file
--- 0 ----
Index: index.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/index.php,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -r1.39 -r1.40
*** index.php 29 Apr 2003 08:40:52 -0000 1.39
--- index.php 2 May 2003 04:52:56 -0000 1.40
***************
*** 6,10 ****
// For testing purposes, we will now print all of the constants we have declared.
! global $Config;
print "phpMP Version: " . $Config['version'] . '<br>';
--- 6,10 ----
// For testing purposes, we will now print all of the constants we have declared.
! global $Config, $DB;
print "phpMP Version: " . $Config['version'] . '<br>';
***************
*** 27,30 ****
--- 27,31 ----
print "DB User: " . DB_USER . '<br>';
print "Table Prefix: " . DB_TABLE_PREFIX . '<br>';
+ print "Queries Exec: " . $DB->query_count . '<br>';
print "<br>";
|