Changeset 295 in t29-www for lib/technikum29.php
- Timestamp:
- Sep 8, 2012, 9:38:16 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/technikum29.php
r288 r295 13 13 $webroot = realpath("$lib/../"); # file path to root of t29 web installation 14 14 $file = substr($_SERVER['SCRIPT_FILENAME'], strlen($_SERVER['DOCUMENT_ROOT'])); # e.g.: "/de/page.php" 15 # Bug when DOCUMENT_ROOT ends with trailing slash: make sure $file begins with /: 16 if($file{0} != '/') $file = "/$file"; 15 17 16 18 // exactly define debugging behaviour
Note: See TracChangeset
for help on using the changeset viewer.