Ignore:
Timestamp:
02/27/2006 12:50:42 AM (6 years ago)
Author:
cirrus
Message:

Change: $root_path variable was changed to a constant due to possible security issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/main.php

    r100 r143  
    2020 */ 
    2121 
    22 include_once($root_path."includes/html.php"); 
    23 include_once($root_path."globals/classes/userdata.php"); 
    24 include_once($root_path."globals/classes/message.php"); 
    25 include_once($root_path."includes/main_header.php"); 
    26 include_once($root_path."includes/main_center.php"); 
    27 include_once($root_path."includes/main_footer.php"); 
    28 include_once($root_path."includes/main_menu.php"); 
     22include_once(ROOT_PATH."includes/html.php"); 
     23include_once(ROOT_PATH."globals/classes/userdata.php"); 
     24include_once(ROOT_PATH."globals/classes/message.php"); 
     25include_once(ROOT_PATH."includes/main_header.php"); 
     26include_once(ROOT_PATH."includes/main_center.php"); 
     27include_once(ROOT_PATH."includes/main_footer.php"); 
     28include_once(ROOT_PATH."includes/main_menu.php"); 
    2929 
    3030class main { 
     
    4949         
    5050        function output() { 
    51                 global $root_path, $lang; 
     51                global $lang; 
    5252                 
    5353                $this->html->head->add_title($lang['site_title']); 
Note: See TracChangeset for help on using the changeset viewer.