website view lib/i18n-info.php @ rev 1299

Add Blog to top menu - fix rss feeds and dl in website/cache
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 25 00:32:07 2017 +0100 (2017-03-25)
parents
children
line source
1 <?php
3 // Build table with i18n info on the SliTaz projects
4 function get_info() {
5 $infofile = '/var/cache/slitaz/website/i18n.html';
6 if ( ! file_exists("$infofile")) {
7 echo "Can't show info!\nSorry...";
8 }
9 else {
10 $content = file_get_contents("$infofile");
11 echo "$content";
12 }
13 }
15 ?>