website annotate lib/i18n-info.php @ rev 1260
RC3 annonce (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 02 11:18:54 2015 +0200 (2015-06-02) |
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 ?> |