| 1 | 2 | Manuela | <?php
 | 
      
        | 2 |  |  | /**
 | 
      
        | 3 |  |  |  *
 | 
      
        | 4 |  |  |  * @category        templates
 | 
      
        | 5 |  |  |  * @package         themes
 | 
      
        | 6 |  |  |  * @subpackage      DefaultTheme
 | 
      
        | 7 |  |  |  * @subpackage      install
 | 
      
        | 8 |  |  |  * @author          WebsiteBaker Project
 | 
      
        | 9 |  |  |  * @copyright       WebsiteBaker Org. e.V.
 | 
      
        | 10 |  |  |  * @link            http://websitebaker.org/
 | 
      
        | 11 |  |  |  * @license         http://www.gnu.org/licenses/gpl.html
 | 
      
        | 12 |  |  |  * @platform        WebsiteBaker 2.8.3 SP7
 | 
      
        | 13 |  |  |  * @requirements    PHP 5.2.2 and higher
 | 
      
        | 14 |  |  |  * @version         $Id$
 | 
      
        | 15 |  |  |  * @filesource      $HeadURL$
 | 
      
        | 16 |  |  |  * @lastmodified    $Date$
 | 
      
        | 17 |  |  |  * @created
 | 
      
        | 18 |  |  |  *
 | 
      
        | 19 |  |  |  */
 | 
      
        | 20 |  |  | 
 | 
      
        | 21 |  |  | /* -------------------------------------------------------- */
 | 
      
        | 22 |  |  | // Must include code to prevent this file from being accessed directly
 | 
      
        | 23 |  |  | if(defined('WB_PATH') == false) { die('Cannot access '.basename(__DIR__).'/'.basename(__FILE__).' directly'); }
 | 
      
        | 24 |  |  | /* -------------------------------------------------------- */
 | 
      
        | 25 |  |  | 
 | 
      
        | 26 |  |  |         if (is_writable(WB_PATH.'/temp/cache')) {
 | 
      
        | 27 |  |  |             Translate::getInstance()->clearCache();
 | 
      
        | 28 |  |  |         }
 |