website diff es/index.php @ rev 1318
Try to fix Rolling date on the main pages after commit #1299.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jun 10 14:35:05 2017 +0300 (2017-06-10) |
parents | d5b3b2823b74 |
children | bea11c80ceb4 |
line diff
1.1 --- a/es/index.php Thu May 12 11:36:18 2016 +0200 1.2 +++ b/es/index.php Sat Jun 10 14:35:05 2017 +0300 1.3 @@ -61,9 +61,9 @@ 1.4 1.5 <li><strong><a href="http://mirror.slitaz.org/iso/rolling/">SliTaz 5.0 Rolling release</a></strong> (weekly) 1.6 <span>- <?php 1.7 - $rol_date_file = '/var/cache/slitaz/website/rolling-date.txt'; 1.8 + $rol_date_file = '../cache/rolling-date.txt'; 1.9 if (file_exists("$rol_date_file")) { 1.10 - $rol_date = file_get_contents("/var/cache/slitaz/website/rolling-date.txt"); 1.11 + $rol_date = file_get_contents("../cache/rolling-date.txt"); 1.12 print $rol_date; 1.13 } ?></span></li> 1.14