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_header.php

    r136 r143  
    2929         
    3030        function output() { 
    31                 global $root_path; 
    3231                if ($this->hide) return; 
    33                 if (file_exists($root_path.'config/mylogo.png')) { 
     32                if (file_exists(ROOT_PATH.'config/mylogo.png')) { 
    3433                        $this->tpl['mylogo'] = TRUE; 
    35                         $this->tpl['mylogo_dir'] = $root_path.'config/'; 
     34                        $this->tpl['mylogo_dir'] = ROOT_PATH.'config/'; 
    3635                } 
    3736                return template($this->tpl, __FILE__); 
Note: See TracChangeset for help on using the changeset viewer.