Mercurial > SimpleWebPresenter
comparison index.php @ 21:5dc5cc27471d
Get correct filename for script cache_time check.
| author | Tom Fredrik "BFG" Klaussen <bfg@blenning.no> |
|---|---|
| date | Wed, 19 Sep 2012 16:12:42 +0200 |
| parents | ac24b41a12ad |
| children | ccfddd7fba1b |
comparison
equal
deleted
inserted
replaced
| 20:ac24b41a12ad | 21:5dc5cc27471d |
|---|---|
| 36 $lang="no"; | 36 $lang="no"; |
| 37 $langs=acceptedLanguages(); | 37 $langs=acceptedLanguages(); |
| 38 if ($langs) { | 38 if ($langs) { |
| 39 foreach ($langs as $l => $val) { | 39 foreach ($langs as $l => $val) { |
| 40 if (file_exists($l)) { | 40 if (file_exists($l)) { |
| 41 $lang=$l; | 41 $lang = $l; |
| 42 break; | 42 break; |
| 43 } | 43 } |
| 44 } | 44 } |
| 45 } | 45 } |
| 46 } | 46 } |
