blob: 6e9e02b5f902bb9862b9bbb17842a4ce941b2b80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?php
require_once $_SERVER['DOCUMENT_ROOT'] . "/api/lang/processor.php";
if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/cache")) {
$dir = scandir($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/cache");
foreach ($dir as $file) {
if (!($file == "." || $file == ".." || $file == ".htaccess")) {
if (substr($file, 0, 5) == "page-") {
unlink($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/cache/$file");
}
}
}
}
|