Changeset 863 in ExiteCMS
- Timestamp:
- 10/03/07 00:14:44 (4 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 1 deleted
- 36 edited
-
administration/forums_prune.php (modified) (1 diff)
-
administration/upgrade.php (modified) (1 diff)
-
administration/upgrade/rev00700.php (modified) (1 diff)
-
administration/upgrade/rev00730.php (modified) (1 diff)
-
administration/upgrade/rev00740.php (modified) (1 diff)
-
administration/upgrade/rev00760.php (modified) (1 diff)
-
administration/upgrade/rev00780.php (modified) (1 diff)
-
administration/upgrade/rev00800.php (modified) (1 diff)
-
administration/upgrade/rev00850.php (modified) (1 diff)
-
administration/upgrade/rev00858.php (modified) (1 diff)
-
includes/buildlist.php (modified) (1 diff)
-
includes/class.httpdownload.php (modified) (1 diff)
-
includes/comments_include.php (modified) (1 diff)
-
includes/core_functions.php (modified) (1 diff)
-
includes/db_functions.php (modified) (1 diff)
-
includes/font2image.php (modified) (2 diffs)
-
includes/forum_functions_include.php (modified) (1 diff)
-
includes/geoip_include.php (modified) (1 diff)
-
includes/menu_include.php (modified) (1 diff)
-
includes/photo_functions_include.php (modified) (1 diff)
-
includes/phpmailer_include.php (modified) (1 diff)
-
includes/ratings_include.php (modified) (1 diff)
-
includes/sendmail_include.php (modified) (1 diff)
-
includes/session_include.php (modified) (1 diff)
-
includes/smtp_include.php (modified) (1 diff)
-
includes/theme_functions.php (modified) (1 diff)
-
includes/theme_functions_include.php (deleted)
-
includes/user_functions.php (modified) (1 diff)
-
modules/main_menu_panel/main_menu_panel.php (modified) (1 diff)
-
modules/main_menu_panel/module_installer.php (modified) (1 diff)
-
modules/user_info_panel/module_installer.php (modified) (1 diff)
-
modules/user_info_panel/user_info_panel.php (modified) (1 diff)
-
modules/welcome_message_panel/module_installer.php (modified) (1 diff)
-
modules/welcome_message_panel/welcome_message_panel.php (modified) (1 diff)
-
setup.php (modified) (1 diff)
-
themes/PLiTheme/images/page_copy.gif (added)
-
themes/PLiTheme/theme.php (modified) (1 diff)
-
themes/PLiTheme/theme_functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/administration/forums_prune.php
r834 r863 13 13 | the included gpl.txt file or visit http://gnu.org | 14 14 +----------------------------------------------------*/ 15 if (eregi("forums_prune.php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();15 if (eregi("forums_prune.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 16 16 17 17 // temp storage for template variables -
trunk/administration/upgrade.php
r855 r863 13 13 | the included gpl.txt file or visit http://gnu.org | 14 14 +----------------------------------------------------*/ 15 if (!defined(' ExiteCMS_INIT')) require_once dirname(__FILE__)."/../includes/core_functions.php";15 if (!defined('CMS_INIT_OK')) require_once dirname(__FILE__)."/../includes/core_functions.php"; 16 16 17 17 // make sure we have a valid revision level from the settings -
trunk/administration/upgrade/rev00700.php
r855 r863 17 17 $_revision = 700; 18 18 19 if (eregi("rev".substr("00000".$_revision,-5).".php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();19 if (eregi("rev".substr("00000".$_revision,-5).".php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 20 20 21 21 // make sure the required array's exist -
trunk/administration/upgrade/rev00730.php
r855 r863 14 14 $_revision = 730; 15 15 16 if (eregi("rev".substr("00000".$_revision,-5).".php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();16 if (eregi("rev".substr("00000".$_revision,-5).".php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 17 17 18 18 // make sure the required array's exist -
trunk/administration/upgrade/rev00740.php
r855 r863 14 14 $_revision = 740; 15 15 16 if (eregi("rev".substr("00000".$_revision,-5).".php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();16 if (eregi("rev".substr("00000".$_revision,-5).".php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 17 17 18 18 // make sure the required array's exist -
trunk/administration/upgrade/rev00760.php
r855 r863 14 14 $_revision = 760; 15 15 16 if (eregi("rev".substr("00000".$_revision,-5).".php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();16 if (eregi("rev".substr("00000".$_revision,-5).".php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 17 17 18 18 // make sure the required array's exist -
trunk/administration/upgrade/rev00780.php
r855 r863 14 14 $_revision = 780; 15 15 16 if (eregi("rev".substr("00000".$_revision,-5).".php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();16 if (eregi("rev".substr("00000".$_revision,-5).".php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 17 17 18 18 // make sure the required array's exist -
trunk/administration/upgrade/rev00800.php
r855 r863 14 14 $_revision = 800; 15 15 16 if (eregi("rev".substr("00000".$_revision,-5).".php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();16 if (eregi("rev".substr("00000".$_revision,-5).".php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 17 17 18 18 // make sure the required array's exist -
trunk/administration/upgrade/rev00850.php
r858 r863 14 14 $_revision = '850'; 15 15 16 if (eregi("rev".substr("00000".$_revision,-5).".php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();16 if (eregi("rev".substr("00000".$_revision,-5).".php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 17 17 18 18 // make sure the required array's exist -
trunk/administration/upgrade/rev00858.php
r859 r863 14 14 $_revision = '858'; 15 15 16 if (eregi("rev".substr("00000".$_revision,-5).".php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();16 if (eregi("rev".substr("00000".$_revision,-5).".php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 17 17 18 18 // make sure the required array's exist -
trunk/includes/buildlist.php
r834 r863 11 11 | the included gpl.txt file or visit http://gnu.org 12 12 +----------------------------------------------------*/ 13 if (!defined(" ExiteCMS_INIT")) { header("Location: ../index.php"); exit; }13 if (!defined("INIT_CMS_OK")) { header("Location: ../index.php"); exit; } 14 14 15 15 $image_files = array(); -
trunk/includes/class.httpdownload.php
r834 r863 1 1 <?php 2 if (!defined(" ExiteCMS_INIT")) { exit; }2 if (!defined("INIT_CMS_OK")) { exit; } 3 3 4 4 /*------------------ -
trunk/includes/comments_include.php
r835 r863 13 13 | the included gpl.txt file or visit http://gnu.org | 14 14 +----------------------------------------------------*/ 15 if (eregi("comments_include.php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();15 if (eregi("comments_include.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 16 16 17 17 // load the locale for this include -
trunk/includes/core_functions.php
r861 r863 84 84 // mark that CMS Engine is properly initialized 85 85 define("INIT_CMS_OK", TRUE); 86 define("ExiteCMS_INIT", TRUE);87 86 88 87 // load the config file -
trunk/includes/db_functions.php
r861 r863 13 13 | the included gpl.txt file or visit http://gnu.org | 14 14 +----------------------------------------------------*/ 15 if (eregi("db_functions.php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();15 if (eregi("db_functions.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 16 16 17 17 // Establish mySQL database connection -
trunk/includes/font2image.php
r847 r863 4 4 Original code by Stewart Rosenberger, http://www.stewartspeak.com/headings/ 5 5 6 Converted by WanWizard to work in a PHP-Fusionenvironment6 Converted by WanWizard to work in am ExiteCMS environment 7 7 8 8 usage: $image_resource = font2image($f2i_array); … … 37 37 38 38 */ 39 if (!defined(" ExiteCMS_INIT")) { header("Location: ../index.php"); exit; }39 if (!defined("INIT_CMS_OK")) { header("Location: ../index.php"); exit; } 40 40 41 41 function font2image($font2image) { -
trunk/includes/forum_functions_include.php
r845 r863 13 13 | the included gpl.txt file or visit http://gnu.org | 14 14 +----------------------------------------------------*/ 15 if (eregi("forum_functions_include.php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();15 if (eregi("forum_functions_include.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 16 16 17 17 // add a poll vote to the database -
trunk/includes/geoip_include.php
r834 r863 10 10 | the included gpl.txt file or visit http://gnu.org | 11 11 +----------------------------------------------------*/ 12 if (eregi("geoip_include.php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();12 if (eregi("geoip_include.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 13 13 14 14 // initialize the result cache -
trunk/includes/menu_include.php
r834 r863 10 10 | the included gpl.txt file or visit http://gnu.org | 11 11 +----------------------------------------------------*/ 12 if (eregi("menu_include.php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();12 if (eregi("menu_include.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 13 13 14 14 /*---------------------------------------------------+ -
trunk/includes/photo_functions_include.php
r834 r863 13 13 | the included gpl.txt file or visit http://gnu.org | 14 14 +----------------------------------------------------*/ 15 if (eregi("photo_functions_include.php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();15 if (eregi("photo_functions_include.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 16 16 17 17 function createthumbnail($filetype, $origfile, $thumbfile, $new_w, $new_h) { -
trunk/includes/phpmailer_include.php
r834 r863 1 1 <?php 2 if (!defined(" ExiteCMS_INIT")) { header("Location:../index.php"); exit; }2 if (!defined("INIT_CMS_OK")) { header("Location:../index.php"); exit; } 3 3 //////////////////////////////////////////////////// 4 4 // PHPMailer - PHP email class -
trunk/includes/ratings_include.php
r835 r863 13 13 | the included gpl.txt file or visit http://gnu.org | 14 14 +----------------------------------------------------*/ 15 if (eregi("ratings_include.php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();15 if (eregi("ratings_include.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 16 16 17 17 // load the locale for this include -
trunk/includes/sendmail_include.php
r834 r863 10 10 | the included gpl.txt file or visit http://gnu.org 11 11 +----------------------------------------------------*/ 12 if (!defined(" ExiteCMS_INIT")) { header("Location:../index.php"); exit; }12 if (!defined("INIT_CMS_OK")) { header("Location:../index.php"); exit; } 13 13 14 14 function sendemail($toname,$toemail,$fromname,$fromemail,$subject,$message,$type="plain",$cc="",$bcc="") { -
trunk/includes/session_include.php
r834 r863 10 10 | the included gpl.txt file or visit http://gnu.org 11 11 +----------------------------------------------------*/ 12 if (!defined(" ExiteCMS_INIT")) { header("Location: ../index.php"); exit; }12 if (!defined("INIT_CMS_OK")) { header("Location: ../index.php"); exit; } 13 13 14 14 function open_session($save_path,$session_name) { -
trunk/includes/smtp_include.php
r834 r863 1 1 <?php 2 if (!defined(" ExiteCMS_INIT")) { header("Location:../index.php"); exit; }2 if (!defined("INIT_CMS_OK")) { header("Location:../index.php"); exit; } 3 3 //////////////////////////////////////////////////// 4 4 // SMTP - PHP SMTP class -
trunk/includes/theme_functions.php
r861 r863 13 13 | the included gpl.txt file or visit http://gnu.org | 14 14 +----------------------------------------------------*/ 15 if (eregi("theme_functions.php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();15 if (eregi("theme_functions.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 16 16 17 17 // load the Smarty template engine -
trunk/includes/user_functions.php
r834 r863 13 13 | the included gpl.txt file or visit http://gnu.org | 14 14 +----------------------------------------------------*/ 15 if (eregi("user_functions.php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();15 if (eregi("user_functions.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 16 16 17 17 // need to GeoIP functions to determine the users country of origin -
trunk/modules/main_menu_panel/main_menu_panel.php
r834 r863 10 10 | the included gpl.txt file or visit http://gnu.org | 11 11 +----------------------------------------------------*/ 12 if (eregi("main_menu_panel.php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();12 if (eregi("main_menu_panel.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 13 13 14 14 // load the menu include -
trunk/modules/main_menu_panel/module_installer.php
r838 r863 12 12 | the included gpl.txt file or visit http://gnu.org | 13 13 +----------------------------------------------------*/ 14 if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined(' ExiteCMS_INIT')) fallback(BASEDIR."index.php");14 if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('INIT_CMS_OK')) fallback(BASEDIR."index.php"); 15 15 16 16 /*---------------------------------------------------+ -
trunk/modules/user_info_panel/module_installer.php
r838 r863 12 12 | the included gpl.txt file or visit http://gnu.org | 13 13 +----------------------------------------------------*/ 14 if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined(' ExiteCMS_INIT')) fallback(BASEDIR."index.php");14 if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('INIT_CMS_OK')) fallback(BASEDIR."index.php"); 15 15 16 16 /*---------------------------------------------------+ -
trunk/modules/user_info_panel/user_info_panel.php
r834 r863 13 13 | the included gpl.txt file or visit http://gnu.org | 14 14 +----------------------------------------------------*/ 15 if (eregi("user_info_panel.php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();15 if (eregi("user_info_panel.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 16 16 17 17 // array's to store the variables for this panel -
trunk/modules/welcome_message_panel/module_installer.php
r838 r863 12 12 | the included gpl.txt file or visit http://gnu.org | 13 13 +----------------------------------------------------*/ 14 if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined(' ExiteCMS_INIT')) fallback(BASEDIR."index.php");14 if (!checkrights("I") || !defined("iAUTH") || $aid != iAUTH || !defined('INIT_CMS_OK')) fallback(BASEDIR."index.php"); 15 15 16 16 /*---------------------------------------------------+ -
trunk/modules/welcome_message_panel/welcome_message_panel.php
r834 r863 10 10 | the included gpl.txt file or visit http://gnu.org | 11 11 +----------------------------------------------------*/ 12 if (eregi("welcome_message_panel.php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();12 if (eregi("welcome_message_panel.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 13 13 14 14 // array's to store the variables for this panel -
trunk/setup.php
r834 r863 89 89 90 90 define("FUSION_SELF", isset($_SERVER['REDIRECT_URL']) && $_SERVER['REDIRECT_URL'] != "" ? basename($_SERVER['REDIRECT_URL']) : basename($_SERVER['PHP_SELF'])); 91 define(' ExiteCMS_INIT', true);91 define('CMS_INIT_OK', true); 92 92 93 93 // error tracking -
trunk/themes/PLiTheme/theme.php
r861 r863 10 10 | the included gpl.txt file or visit http://gnu.org | 11 11 +----------------------------------------------------*/ 12 if (eregi("theme.php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();12 if (eregi("theme.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 13 13 14 14 /*-----------------------------------------------------+ -
trunk/themes/PLiTheme/theme_functions.php
r834 r863 10 10 | the included gpl.txt file or visit http://gnu.org | 11 11 +----------------------------------------------------*/ 12 if (eregi("theme_functions.php", $_SERVER['PHP_SELF']) || !defined(' ExiteCMS_INIT')) die();12 if (eregi("theme_functions.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 13 13 14 14 // include the menu functions to create the header menu bar
Note: See TracChangeset
for help on using the changeset viewer.
