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

Add redirectors for links found on DistroWatch SliTaz page, thanks Erkan Yilmaz.
See his blog post: http://people.slitaz.org/~eyilmaz/blog/2018_06_08_redirect_old_urls.txt
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jun 08 12:56:11 2018 +0300 (2018-06-08)
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 ?>