/
clear_cache.php
63 lines (62 loc) · 3.84 KB
/
clear_cache.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
#
# -/:::::::::::::::::::/- `/soooooooooooooooooooy: ./::::::::::::::::::://`
# +:-------------------:+.-ho+/////////////////+sh.:/:------------------:*
# +////:::::::::::::////+--hyyyssooooooooooossyyyh-+/////:::::::::::::////+
# +/////////////////////+--hyyyyyyyyyyyyyyyyyyyyyh-+//////////////////////+
# +/////////////////////+-.hyyyyyyyyyyyyyyyyyyyyyh-+//////////////////////+
# +/////////////////////+--hyyyyyyyyyyyyyyyyyyyyyh-+//////////////////////+
# +/////////////////////+.-hyyyyyyyyyyyyyyyyyyyyyh.//////////////////////+:
# :///////////////////+/. `ohyyyyyyyyyyyyyyyyyyhh/ `////////////////////+:`
# .-------------------. --------------------. ```.------.`````````` .......` `...... `......`
# +o+++++++++++++++++++so `:::::::::::::::::::::/- -syhhyyyhyss- sssss ysssss+` +sssy. `:+shhyyyyhyy/- `-ssyhyyyyhsy+` `/osyhyyyyhys/.
# hs++///////////////++sh:.+::-----------------:/+`-syyyhyyyyyyyyy+ yyyyh dyyyyyys. oyyyh.`:yyyyyyyyyyyyyyho` /hyyyyyyyyyyyyyy+ +hyyyyhyyyyyyyyyo.
# hyyyssssooooooossssyyyh/`+//////::::::::://////+`/hyyyd/-```ohyyh: yyyyh dyyyhyyyh: oyyyh./hyyyy+` `-hyyyh/.hyyyhs. /yyyyho-hyyyho- .-syyyyy
# hyyyyyyyyyyyyyyyyyyyyyh/`+/////////////////////+`-yyyyyyyyyyhss+: yyyyh dyyyhsyyyhh`oyyyh-oyyyh: `----`yyyyys ----.oyyyyo `yyyyh
# hyyyyyyyyyyyyyyyyyyyyyh/`+/////////////////////+```/oshyyyyyyyyyho yyyyh dyyyy +hyyyhhyyyh-yyyyy/ .:::::hyyyys `::::-oyyyys -yyyyh
# hyyyyyyyyyyyyyyyyyyyyyh/`+/////////////////////+.yhyyds` .:ohyyyd` yyyyh dyyyy `yyyyhyyyh./hyyyho. ./syyyh/.hyyyh+- `:yyyyh/.hyyyy+: /yyyyys
# hyyyyyyyyyyyyyyyyyyyyyy-.+/////////////////////+`-yyyyyhyoyhhyyyh: yyyyh dyyyy +hyyyyyh. +hyyyyyhhhyyyyyh+ -hyyyyyhhhyyyyyy/ :yhyyyyhhhyyyyyy+`
# +hhyyyyyyhhhhhhhhhhhhd- -+++++++++++++++++++++. /ohhyyyyyhhoo. hhhhh dhhhy -shhhhd. .syhhhyyhhyo:` :+shhhyyhhho/ -/ohhhyyhhdo:`
#
# NOTICE OF LICENSE
#
# This source file is subject to the Open Software License (OSL 3.0)
# that is available through the world-wide-web at this URL:
# http://opensource.org/licenses/osl-3.0.php
#
# -----------------------
# @author: Iván Miranda
# @version: 1.0.0
# -----------------------
# Vaciar cache del sistema
# -----------------------
require_once './Sfphp/__base.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sfphp</title>
<!-- Bootstrap Table -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<link rel="shortcut icon" href="{BASE_URL}favicon.ico">
</head>
<body>
<div class="panel panel-primary">
<div class="panel-heading">
<?php
echo "<h2>Eliminando cache...</h2>";
Sfphp_Cache::clear();
?>
</div>
<?php echo "<h3>...terminado!</h3>"; ?>
</div>
<nav>
<ul class="pager">
<li class="previous"><a href="javascript:window.history.back()"><span aria-hidden="true">←</span> Regresar</a></li>
</ul>
</nav>
</body>
</html>