Beispiel #1
0
    header('Location: ' . str_replace('?' . $_SERVER['QUERY_STRING'], '', $_SERVER['REQUEST_URI']));
    eZExecution::cleanexit();
}
if (!empty($_GET['RECHECK'])) {
    if (function_exists(CACHEPREFIX . 'invalidate')) {
        $recheck = trim($_GET['RECHECK']);
        $files = call_user_func(CACHEPREFIX . 'get_status');
        if (!empty($files['scripts'])) {
            foreach ($files['scripts'] as $file => $value) {
                if ($recheck === '1' || strpos($file, $recheck) === 0) {
                    call_user_func(CACHEPREFIX . 'invalidate', $file);
                }
            }
        }
        header('Location: ' . str_replace('?' . $_SERVER['QUERY_STRING'], '', $_SERVER['REQUEST_URI']));
        eZExecution::cleanexit();
    } else {
        echo 'Sorry, this feature requires Zend Opcache newer than April 8th 2013';
        return;
    }
}
echo "x!";
?>
<!DOCTYPE html>
<html>
<head>
	<title>OCP - Opcache Control Panel</title>
	<meta name="ROBOTS" content="NOINDEX,NOFOLLOW,NOARCHIVE" />

<!--[if lt IE 9]><script type="text/javascript" defer="defer">
window.onload=function(){var i,t=document.getElementsByTagName('table');for(i=0;i<t.length;i++){if(t[i].parentNode.className=='graph')t[i].style.height=150-(t[i].clientHeight-150)+'px';}}