Changeset 143 for trunk/globals/common.php
- Timestamp:
- 02/27/2006 12:50:42 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/globals/common.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/globals/common.php
r141 r143 20 20 */ 21 21 22 if (!file_exists( $root_path."config/config.php")) {22 if (!file_exists(ROOT_PATH."config/config.php")) { 23 23 die("WiND error: Please make config/config.php file ..."); 24 24 } 25 include_once( $root_path."globals/vars.php");26 include_once( $root_path."config/config.php");25 include_once(ROOT_PATH."globals/vars.php"); 26 include_once(ROOT_PATH."config/config.php"); 27 27 $vars = array_merge($vars, $config); 28 28 include_once($vars['templates']['path'].$vars['templates']['default'].'/config.php'); 29 29 $vars = array_merge($vars, $template_config); 30 include_once( $root_path."globals/functions.php");30 include_once(ROOT_PATH."globals/functions.php"); 31 31 32 32 $php_start = getmicrotime(); 33 33 34 include_once( $root_path."globals/classes/mysql.php");35 include_once( $root_path."globals/classes/construct.php");36 include_once( $root_path."globals/classes/form.php");37 include_once( $root_path."globals/classes/table.php");34 include_once(ROOT_PATH."globals/classes/mysql.php"); 35 include_once(ROOT_PATH."globals/classes/construct.php"); 36 include_once(ROOT_PATH."globals/classes/form.php"); 37 include_once(ROOT_PATH."globals/classes/table.php"); 38 38 39 39 if (!file_exists($vars['smarty']['class'])) { … … 69 69 $tl = $vars['language']['default']; 70 70 } 71 include_once( $root_path."globals/language/".$tl.".php");72 if (file_exists( $root_path."config/language/".$tl."_overwrite.php")) {73 include_once( $root_path."config/language/".$tl."_overwrite.php");71 include_once(ROOT_PATH."globals/language/".$tl.".php"); 72 if (file_exists(ROOT_PATH."config/language/".$tl."_overwrite.php")) { 73 include_once(ROOT_PATH."config/language/".$tl."_overwrite.php"); 74 74 $lang = array_multimerge($lang, $lang_overwrite); 75 75 }
Note: See TracChangeset
for help on using the changeset viewer.
