Marius Cramer
2013-11-14 7fe908c50c8dbc5cc05f571dbe11d66141caacd4
server/lib/classes/tpl_cache.inc.php
@@ -20,6 +20,7 @@
 * @access public
 */
class tplc extends tpl {
/*-----------------------------------------------------------------------------\
@@ -46,6 +47,7 @@
        return true;
    }
    /**
     * FUNCTION: recache
     * alias for clearCache().
@@ -56,6 +58,7 @@
    function recache() {
        return $this->clearCache();
    }
    /**
     * FUNCTION: setCacheLifeTime
@@ -72,6 +75,7 @@
        $this->OPTIONS['CACHE_LIFETIME'] = $int;
        return true;
    }
    /**
     * FUNCTION: setCacheExtension
@@ -91,6 +95,7 @@
/*----------------------------------------\
          Private Functions
-----------------------------------------*/
    /**
     * FUNCTION: _checkCache
@@ -132,6 +137,7 @@
        return $this->OPTIONS['CACHE_DIRECTORY'].'/'.md5('vlibCachestaR'.realpath($tmplfile)).'.'.$this->OPTIONS['CACHE_EXTENSION'];
    }
    /**
     * FUNCTION: _createCache
     * creates the cached file
@@ -151,6 +157,7 @@
        return true;
    }
    /**
     * FUNCTION: _prepareDirs
     * prepares the directory structure