1
|
<?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: upgrade.php 2 2017-07-02 15:14:29Z Manuela $
|
15
|
* @filesource $HeadURL: svn://isteam.dynxs.de/wb/2.10.x/trunk/templates/DefaultTheme/upgrade.php $
|
16
|
* @lastmodified $Date: 2017-07-02 17:14:29 +0200 (Sun, 02 Jul 2017) $
|
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
|
}
|