Changeset 183 for branches/1.1dev
- Timestamp:
- Jun 24, 2006 6:43:50 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1dev/config/boot.inc.php
r113 r183 227 227 // Character set. This will also be printed in the html head. 228 228 header('Content-type: text/html; charset=' . $CFG->character_set); 229 230 // Set the version of the codebase we're using. 231 $codebase_version_file = dirname(__FILE__) . '/../docs/version.txt'; 232 if (is_readable($codebase_version_file)) { 233 $CFG->codebase_version = trim(file_get_contents($codebase_version_file)); 234 header('X-Codebase-Version: ' . $CFG->codebase_version); 235 } 229 236 230 237 // Capture the ultimate referrer. Used? Not yet.
Note: See TracChangeset
for help on using the changeset viewer.