Update of /cvsroot/phpmp/phpMP
In directory sc8-pr-cvs1:/tmp/cvs-serv23442
Modified Files:
index.php
Log Message:
Realized after an hour of long, torturous thought that the constants file wouldn't work as laid out. Made a few other small updates as well. Screwed with the other files randomly to get everything working alright.
Index: index.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/index.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** index.php 5 Nov 2002 22:11:05 -0000 1.22
--- index.php 1 Dec 2002 03:47:21 -0000 1.23
***************
*** 1,5 ****
<?
! // Index file.
! ?>
\ No newline at end of file
--- 1,43 ----
+ <html>
+ <body>
+
<?
! include( './includes/core.php' );
! $Core = new Core();
!
! $Core->init();
!
! // For testing purposes, we will now print all of the constants we have declared.
!
! print "phpMP Version: " . VERSION . '<br>';
!
! print "<br>";
!
! print "Site Name: " . SITE_NAME . '<br>';
! print "Site Address: " . SITE_ADDR . '<br>';
! print "Relative Path: " . REL_PATH . '<br>';
! print "Default Template: " . DEFAULT_TPL . '<br>';
! print "Default Language: " . DEFAULT_LANG . '<br>';
! print "The Current Date and Time: " . TIME_NOW . '<br>';
!
! print "<br>";
!
! print "DB Type: " . DB_TYPE . '<br>';
! print "DB Host: " . DB_HOST . '<br>';
! print "DB Name: " . DB_NAME . '<br>';
! print "DB User: " . DB_USER . '<br>';
! print "DB Host: " . DB_TABLE_PREFIX . '<br>';
!
! print "<br>";
!
! print "Config Table: " . CONFIG_TABLE . '<br>';
! print "Users Table: " . USERS_TABLE . '<br>';
! print "Block Table: " . BLOCK_TABLE . '<br>';
! print "Modules Table: " . MODULES_TABLE . '<br>';
! print "Session Table: " . SESSION_TABLE . '<br>';
!
! ?>
! </body>
! </html>
\ No newline at end of file
|