Changeset 271 in t29-www for lib/loader.php
- Timestamp:
- Jun 1, 2012, 8:22:49 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/loader.php
r269 r271 2 2 /** 3 3 * t29 ressource loading system. 4 * 4 5 * Entry point for loading javascript and css style sheet files in a bundled and 5 * compressed manner, including caching. 6 * compressed manner, including caching. This file only checks up the caches and 7 * contains the main configuration. See ressourceloader.php for all constructing 8 * code. 6 9 * 7 10 **/ … … 36 39 // (no more applicable because configuration is given as array to constructor): 37 40 // foreach($conf as $var => $val) { $GLOBALS[$var] = $val[$typepos]; } 38 header("Content-Type: $content_types");39 41 40 42 require "$lib/cache.php"; … … 42 44 $js_cache->test_files = $modules; 43 45 $js_cache->set_cache_file($webroot, $cache_file); 46 47 header("Content-Type: $content_types"); 44 48 if(!$debug) $js_cache->try_cache_and_exit(); 45 49
Note: See TracChangeset
for help on using the changeset viewer.