Changeset 271 in t29-www for lib/loader.php


Ignore:
Timestamp:
Jun 1, 2012, 8:22:49 PM (12 years ago)
Author:
sven
Message:

Dokumentation des RessourceLoader-Systems geschrieben. Pfade in den CSS-files zunaechst erst mal absolut gesetzt. Mit CSSMin werden diese spaeter vllt umgeschrieben bzw. kleine PNGs eingebettet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/loader.php

    r269 r271  
    22/**
    33 * t29 ressource loading system.
     4 *
    45 * 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.
    69 *
    710 **/
     
    3639// (no more applicable because configuration is given as array to constructor):
    3740// foreach($conf as $var => $val) { $GLOBALS[$var] = $val[$typepos]; }
    38 header("Content-Type: $content_types");
    3941
    4042require "$lib/cache.php";
     
    4244$js_cache->test_files = $modules;
    4345$js_cache->set_cache_file($webroot, $cache_file);
     46
     47header("Content-Type: $content_types");
    4448if(!$debug) $js_cache->try_cache_and_exit();
    4549
Note: See TracChangeset for help on using the changeset viewer.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License