aboutsummaryrefslogtreecommitdiffstats
path: root/en/about
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2014-12-01 08:01:05 +0100
committerfilip <filip.komar@gmail.com>2014-12-01 08:01:05 +0100
commit9639dfb548d0804d9ea637f902fa453790264ac4 (patch)
tree275e195d6bfc09b13339793f28656ca6028a9198 /en/about
parentbacd8b763a205ea10e773de73edea7b5c7d5d3a9 (diff)
downloadwww-9639dfb548d0804d9ea637f902fa453790264ac4.tar
www-9639dfb548d0804d9ea637f902fa453790264ac4.tar.gz
www-9639dfb548d0804d9ea637f902fa453790264ac4.tar.bz2
www-9639dfb548d0804d9ea637f902fa453790264ac4.tar.xz
www-9639dfb548d0804d9ea637f902fa453790264ac4.zip
improvement for regenerating l10n numbers from license file
Diffstat (limited to 'en/about')
-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);