Changeset 161
- Timestamp:
- 09/13/2006 11:52:38 AM (2 years ago)
- Files:
-
- 2 modified
-
branches/1.0/admin/config.php.example (modified) (1 diff)
-
trunk/admin/config.php.example (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/admin/config.php.example
r34 r161 10 10 function ob_filter_path_nicer($o) 11 11 { 12 $o = str_replace("/home/", "{H}/", $o); 12 $sep = DIRECTORY_SEPARATOR; 13 $o = str_replace($_SERVER['DOCUMENT_ROOT'], "{DOCROOT}$sep", $o); 14 $xcachedir = realpath(dirname(__FILE__) . "$sep..$sep"); 15 $o = str_replace($xcachedir . $sep, "{XCache}$sep", $o); 16 if ($sep == '/') { 17 $o = str_replace("/home/", "{H}/", $o); 18 } 13 19 return $o; 14 20 } -
trunk/admin/config.php.example
r125 r161 16 16 function ob_filter_path_nicer($o) 17 17 { 18 $o = str_replace($_SERVER['DOCUMENT_ROOT'], "{DOCROOT}/", $o); 19 $xcachedir = realpath(dirname(__FILE__) . "/../"); 20 $o = str_replace($xcachedir . "/", "{XCache}/", $o); 21 $o = str_replace("/home/", "{H}/", $o); 18 $sep = DIRECTORY_SEPARATOR; 19 $o = str_replace($_SERVER['DOCUMENT_ROOT'], "{DOCROOT}$sep", $o); 20 $xcachedir = realpath(dirname(__FILE__) . "$sep..$sep"); 21 $o = str_replace($xcachedir . $sep, "{XCache}$sep", $o); 22 if ($sep == '/') { 23 $o = str_replace("/home/", "{H}/", $o); 24 } 22 25 return $o; 23 26 }

