website annotate lib/i18n-info.php @ rev 1329

Remove SWITCHmirror
See: http://forum.slitaz.org/topic/who-is-responsible-for-the-mirror-list-on-httpslitazorgenget
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 11 01:28:00 2018 +0300 (2018-10-11)
parents
children
rev   line source
al@1089 1 <?php
al@1089 2
al@1089 3 // Build table with i18n info on the SliTaz projects
al@1089 4 function get_info() {
al@1089 5 $infofile = '/var/cache/slitaz/website/i18n.html';
al@1089 6 if ( ! file_exists("$infofile")) {
al@1089 7 echo "Can't show info!\nSorry...";
al@1089 8 }
al@1089 9 else {
al@1089 10 $content = file_get_contents("$infofile");
al@1089 11 echo "$content";
al@1089 12 }
al@1089 13 }
al@1089 14
al@1089 15 ?>