aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--en/about/license/license.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/en/about/license/license.php b/en/about/license/license.php
index 485199926..d7a713b14 100644
--- a/en/about/license/license.php
+++ b/en/about/license/license.php
@@ -69,7 +69,8 @@ function load_license_numbers($lang, $skip_rebuilding_cache = false)
$start_text = '"PO-Revision-Date:';
}
if(!$skip_rebuilding_cache) {
- $po_file = $po_files_path . $filename;
+ $po_file = $po_files_path . $filename;
+ $po_time = 0;
$filehandle = @fopen($po_file, 'r'); // read $po_file
if($filehandle !== false) { // could open $po_fil
fclose($filehandle);
@@ -80,7 +81,6 @@ function load_license_numbers($lang, $skip_rebuilding_cache = false)
}
if(file_exists($cache_file)) {
$cached_time = -1;
- $po_time = 0;
include $cache_file;
$cached_time = intval($cached_time);
$po_time = intval($po_time);