Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
53f6dace
Commit
53f6dace
authored
May 03, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
www: remove old cache disable, only used twice and uneeded
parent
6097278e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
13 deletions
+1
-13
diag_backup.php
src/www/diag_backup.php
+0
-3
guiconfig.inc
src/www/guiconfig.inc
+0
-9
legacy_traffic_stats.php
src/www/legacy_traffic_stats.php
+1
-1
No files found.
src/www/diag_backup.php
View file @
53f6dace
...
...
@@ -32,9 +32,6 @@
ini_set
(
'max_execution_time'
,
'0'
);
ini_set
(
'max_input_time'
,
'0'
);
/* omit no-cache headers because it confuses IE with file downloads */
$omit_nocacheheaders
=
true
;
require_once
(
"guiconfig.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"filter.inc"
);
...
...
src/www/guiconfig.inc
View file @
53f6dace
...
...
@@ -85,15 +85,6 @@ function html_safe($text)
return
htmlspecialchars
(
$text
,
ENT_QUOTES
|
ENT_HTML401
);
}
/* make sure nothing is cached */
if
(
isset
(
$omit_nocacheheaders
)
&&
$omit_nocacheheaders
)
{
header
(
"Expires: 0"
);
header
(
"Last-Modified: "
.
gmdate
(
"D, d M Y H:i:s"
)
.
" GMT"
);
header
(
"Cache-Control: no-store, no-cache, must-revalidate"
);
header
(
"Cache-Control: post-check=0, pre-check=0"
,
false
);
header
(
"Pragma: no-cache"
);
}
header
(
"X-Frame-Options: SAMEORIGIN"
);
set_language
();
...
...
src/www/legacy_traffic_stats.php
View file @
53f6dace
...
...
@@ -27,7 +27,7 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
$omit_nocacheheaders
=
true
;
require_once
(
'guiconfig.inc'
);
require_once
(
'interfaces.inc'
);
require_once
(
'pfsense-utils.inc'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment