aboutsummaryrefslogtreecommitdiffstats
path: root/en/about
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2014-07-30 21:08:30 +0200
committerfilip <filip.komar@gmail.com>2014-07-30 21:08:30 +0200
commita21072679f69575212cd92aad138f4e5f230f24c (patch)
tree382c5bac25de782a987a8940237263a221ed71a3 /en/about
parentd29e2a46520ff03896caa4fb453f26c0587dac36 (diff)
downloadwww-a21072679f69575212cd92aad138f4e5f230f24c.tar
www-a21072679f69575212cd92aad138f4e5f230f24c.tar.gz
www-a21072679f69575212cd92aad138f4e5f230f24c.tar.bz2
www-a21072679f69575212cd92aad138f4e5f230f24c.tar.xz
www-a21072679f69575212cd92aad138f4e5f230f24c.zip
further improving fallback for unwritable /_nav/var/tmp/cache
Diffstat (limited to 'en/about')
-rw-r--r--en/about/license/license.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/en/about/license/license.php b/en/about/license/license.php
index d1b221d62..3aa21ddfb 100644
--- a/en/about/license/license.php
+++ b/en/about/license/license.php
@@ -109,8 +109,10 @@ P;
if(file_exists($cache_file)) {
include $cache_file;
} else { // fallback
- $license_num_all = 38;
- $license_num_unt = 0;
+ $license_array = read_license_from_vcs($lang);
+ $license_numbers = array_pop($license_array);
+ $license_num_all = $license_numbers["all"];
+ $license_num_unt = $license_numbers["untran"];
}
}