[phpMP-CVS] CVS: phpMP index.php,1.41,1.42 modules.php,1.15,1.16
Status: Pre-Alpha
Brought to you by:
heimidal
From: Brian R. <hei...@us...> - 2003-05-17 07:50:20
|
Update of /cvsroot/phpmp/phpMP In directory sc8-pr-cvs1:/tmp/cvs-serv29050 Modified Files: index.php modules.php Log Message: Added the license notice to each PHP file. No Changelog entry. Index: index.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/index.php,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -r1.41 -r1.42 *** index.php 9 May 2003 08:07:38 -0000 1.41 --- index.php 17 May 2003 07:50:16 -0000 1.42 *************** *** 1,49 **** ! <?php ! ! define("PHPMP_ROOT", "./"); ! include_once( PHPMP_ROOT . 'includes/core.php' ); ! $Core = new Core(); ! ! // For testing purposes, we will now print all of the constants we have declared. ! ! print "phpMP Version: " . $Config->get('version') . '<br>'; ! ! print "<br>"; ! ! print "Site Name: " . $Config->get('site_name') . '<br>'; ! print "Site Address: " . $Config->get('site_domain') . '<br>'; ! print "Relative Path: " . $Config->get('rel_path') . '<br>'; ! print "Default Template: " . $Config->get('default_tpl') . '<br>'; ! print "Default Language: " . $Config->get('default_lang') . '<br>'; ! print "The Current Date and Time: " . $Config->get('time_now') . '<br>'; ! print "Current Logged User: " . $User->get('user_name') . '<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 "Table Prefix: " . DB_TABLE_PREFIX . '<br>'; ! print "Queries Exec: " . $DB->query_count . '<br>'; ! ! print "<br>"; ! ! print "Config Table: " . DB_CONFIG_TABLE . '<br>'; ! print "Users Table: " . DB_USERS_TABLE . '<br>'; ! print "Block Table: " . DB_BLOCK_TABLE . '<br>'; ! print "Modules Table: " . DB_MODULES_TABLE . '<br>'; ! print "Sessions Table: " . DB_SESSIONS_TABLE . '<br>'; ! ! print "<br>"; ! ! print "Regular Cookie: " . urldecode($_COOKIE[$Config->get('cookie_name') . '_data']) . '<br>'; ! print "Auto-login Cookie: " . urldecode($_COOKIE[$Config->get('cookie_name') . '_auto']) . '<br>'; ! ! ?> ! <html> ! <body> ! ! ! </body> </html> --- 1,71 ---- ! <?php ! ! /* ! * phpMP - The PHP Modular Portal System ! * Copyright (C) 2002-2003 Brian Rose and the phpMP group ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ! * ! * $Id$ ! * ! */ ! ! define("PHPMP_ROOT", "./"); ! include_once( PHPMP_ROOT . 'includes/core.php' ); ! $Core = new Core(); ! ! // For testing purposes, we will now print all of the constants we have declared. ! ! print "phpMP Version: " . $Config->get('version') . '<br>'; ! ! print "<br>"; ! ! print "Site Name: " . $Config->get('site_name') . '<br>'; ! print "Site Address: " . $Config->get('site_domain') . '<br>'; ! print "Relative Path: " . $Config->get('rel_path') . '<br>'; ! print "Default Template: " . $Config->get('default_tpl') . '<br>'; ! print "Default Language: " . $Config->get('default_lang') . '<br>'; ! print "The Current Date and Time: " . $Config->get('time_now') . '<br>'; ! print "Current Logged User: " . $User->get('user_name') . '<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 "Table Prefix: " . DB_TABLE_PREFIX . '<br>'; ! print "Queries Exec: " . $DB->query_count . '<br>'; ! ! print "<br>"; ! ! print "Config Table: " . DB_CONFIG_TABLE . '<br>'; ! print "Users Table: " . DB_USERS_TABLE . '<br>'; ! print "Block Table: " . DB_BLOCK_TABLE . '<br>'; ! print "Modules Table: " . DB_MODULES_TABLE . '<br>'; ! print "Sessions Table: " . DB_SESSIONS_TABLE . '<br>'; ! ! print "<br>"; ! ! print "Regular Cookie: " . urldecode($_COOKIE[$Config->get('cookie_name') . '_data']) . '<br>'; ! print "Auto-login Cookie: " . urldecode($_COOKIE[$Config->get('cookie_name') . '_auto']) . '<br>'; ! ! ?> ! <html> ! <body> ! ! ! </body> </html> Index: modules.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/modules.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -r1.15 -r1.16 *** modules.php 8 Feb 2003 09:43:29 -0000 1.15 --- modules.php 17 May 2003 07:50:16 -0000 1.16 *************** *** 1,5 **** ! <?php ! ! // Module handler. ! ?> --- 1,27 ---- ! <?php ! ! /* ! * phpMP - The PHP Modular Portal System ! * Copyright (C) 2002-2003 Brian Rose and the phpMP group ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ! * ! * $Id$ ! * ! */ ! ! // Module handler. ! ?> |