Get correct filename for script cache_time check.
| author |
Tom Fredrik "BFG" Klaussen <bfg@blenning.no> |
| date |
Wed, 19 Sep 2012 16:12:42 +0200 |
| parents |
ac24b41a12ad |
| children |
ccfddd7fba1b |
| files |
cache_check.inc index.php |
| diffstat |
2 files changed, 2 insertions(+), 2 deletions(-)
[+]
|
line diff
--- a/cache_check.inc Wed Sep 19 15:51:33 2012 +0200
+++ b/cache_check.inc Wed Sep 19 16:12:42 2012 +0200
@@ -29,5 +29,5 @@
include($path);
}
-cache_time('php/cache_check.inc');
+cache_time(__FILE__);
?>
\ No newline at end of file
--- a/index.php Wed Sep 19 15:51:33 2012 +0200
+++ b/index.php Wed Sep 19 16:12:42 2012 +0200
@@ -38,7 +38,7 @@
if ($langs) {
foreach ($langs as $l => $val) {
if (file_exists($l)) {
- $lang=$l;
+ $lang = $l;
break;
}
}