Update of /cvsroot/phpmp/phpMP
In directory sc8-pr-cvs1:/tmp/cvs-serv30097
Modified Files:
index.php modules.php profile.php
Log Message:
Most all files updated. Forgot a small compatibility issue regarding <? and <?php. Also, deleted some lines at the end of files and changed a few config names.
Index: index.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/index.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -r1.28 -r1.29
*** index.php 7 Dec 2002 11:39:47 -0000 1.28
--- index.php 4 Feb 2003 21:43:03 -0000 1.29
***************
*** 1,44 ****
! <html>
! <body>
!
! <?
!
! define("C_PHPMP_ROOT", "./");
! include_once( C_PHPMP_ROOT . '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: " . C_VERSION . '<br>';
!
! print "<br>";
!
! print "Site Name: " . C_SITE_NAME . '<br>';
! print "Site Address: " . C_SITE_ADDR . '<br>';
! print "Relative Path: " . C_REL_PATH . '<br>';
! print "Default Template: " . C_DEFAULT_TPL . '<br>';
! print "Default Language: " . C_DEFAULT_LANG . '<br>';
! print "The Current Date and Time: " . C_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: " . C_CONFIG_TABLE . '<br>';
! print "Users Table: " . C_USERS_TABLE . '<br>';
! print "Block Table: " . C_BLOCK_TABLE . '<br>';
! print "Modules Table: " . C_MODULES_TABLE . '<br>';
! print "Session Table: " . C_SESSIONS_TABLE . '<br>';
!
! ?>
!
! </body>
! </html>
--- 1 ----
! <html>
<body>
<?php
define("C_PHPMP_ROOT", "./");
include_once( C_PHPMP_ROOT . '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: " . C_VERSION . '<br>';
print "<br>";
print "Site Name: " . C_SITE_NAME . '<br>';
print "Site Address: " . C_SITE_ADDR . '<br>';
print "Relative Path: " . C_REL_PATH . '<br>';
print "Default Template: " . C_DEFAULT_TPL . '<br>';
print "Default Language: " . C_DEFAULT_LANG . '<br>';
print "The Current Date and Time: " . C_DATE_NOW . '<br>';
print "Current Logged User: " . U_USERNAME . '<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: " . C_CONFIG_TABLE . '<br>';
print "Users Table: " . C_USERS_TABLE . '<br>';
print "Block Table: " . C_BLOCK_TABLE . '<br>';
print "Modules Table: " . C_MODULES_TABLE . '<br>';
print "Session Table: " . C_SESSIONS_TABLE . '<br>';
?>
</body>
</html>
\ No newline at end of file
Index: modules.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/modules.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** modules.php 5 Nov 2002 22:11:05 -0000 1.13
--- modules.php 4 Feb 2003 21:43:07 -0000 1.14
***************
*** 1,5 ****
! <?
!
! // Module handler.
!
! ?>
\ No newline at end of file
--- 1 ----
! <?php
// Module handler.
?>
\ No newline at end of file
Index: profile.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/profile.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** profile.php 5 Nov 2002 22:11:05 -0000 1.6
--- profile.php 4 Feb 2003 21:43:08 -0000 1.7
***************
*** 1,6 ****
! <?
!
! // Profile handlers.
! // May be combined with other files, like auth.php or something.
!
! ?>
\ No newline at end of file
--- 1 ----
! <?php
// Profile handlers.
// May be combined with other files, like auth.php or something.
?>
\ No newline at end of file
|