debug->ips->toArray()) ) { die('Debug mode is forbidden for your ip ' . $_SERVER['REMOTE_ADDR']); } ?>
' . htmlspecialchars(($ok ? 'DONE' : 'FAIL') . ' ' . $filename) . '
' . PHP_EOL; } break; case 'clearMerge': echo 'Back' . htmlspecialchars(($ok ? 'DONE' : 'FAIL') . ' ' . $filename) . '
' . PHP_EOL; } } break; case 'updateRev': $revFile = WWW_PATH . '/rev'; $rev = isset($_GET['rev']) ? $_GET['rev'] : ''; if ($rev) { file_put_contents($revFile, $rev); } else { unlink($revFile); } header('Location: ' . $baseUrl); break; default: header('Location: ' . $baseUrl); break; } if (isset($_COOKIE[$config->debug->cookie]) && $_COOKIE[$config->debug->cookie] == '1') { echo 'Debug ENABLED'; echo ' - '; echo 'disable'; } else { echo 'Debug DISABLED'; echo ' - '; echo 'enable'; } });