Changeset 143 for trunk/index.php


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/index.php

    r1 r143  
    2222ob_start(); 
    2323 
    24 $root_path = "./"; 
     24define("ROOT_PATH","./"); 
    2525 
    26 include_once($root_path."globals/common.php"); 
     26include_once(ROOT_PATH."globals/common.php"); 
    2727 
    28 include_once($root_path."includes/main.php"); 
     28include_once(ROOT_PATH."includes/main.php"); 
    2929 
    3030$main = new main; 
Note: See TracChangeset for help on using the changeset viewer.