Skip to content

Commit

Permalink
Stop using caching/cache and use /var/db/freshports/cache/pages
Browse files Browse the repository at this point in the history
  • Loading branch information
dlangille committed Oct 29, 2017
1 parent 29c8bb5 commit cf99655
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion www/filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function freshports_SummaryForDay($MinusN) {

$UseCache = FALSE;

DEFINE('CACHEFILE', $_SERVER['DOCUMENT_ROOT'] . '/../caching/cache/commits.html');
DEFINE('CACHEFILE', PAGES_DIRECTORY . '/commits.html');

if ($User->id == '') {
if (file_exists(CACHEFILE) && is_readable(CACHEFILE)) {
Expand Down
2 changes: 1 addition & 1 deletion www/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function freshports_SummaryForDay($MinusN) {

$UseCache = FALSE;

DEFINE('CACHEFILE', $_SERVER['DOCUMENT_ROOT'] . '/../caching/cache/index.html');
DEFINE('CACHEFILE', PAGES_DIRECTORY . '/index.html');

if ($User->id == '') {
if (file_exists(CACHEFILE) && is_readable(CACHEFILE)) {
Expand Down
2 changes: 1 addition & 1 deletion www/sanity_test_failures.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function freshports_SummaryForDay($MinusN) {
<?php
$UseCache = FALSE;

DEFINE('CACHEFILE', $_SERVER['DOCUMENT_ROOT'] . '/../caching/cache/sanity_test_failures.html');
DEFINE('CACHEFILE', PAGES_DIRECTORY . '/sanity_test_failures.html');

if ($User->id == '') {
if (file_exists(CACHEFILE) && is_readable(CACHEFILE)) {
Expand Down

1 comment on commit cf99655

@dlangille
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see no more references to caching/cache

Please sign in to comment.