Mercurial > SimpleWebPresenter
comparison common-functions.inc @ 52:3898353ed1d8
Include fixes.
sitemap don't print before everything has been processed.
Make a class of accept-language.
| author | Tom Fredrik "BFG" Klaussen <bfg@blenning.no> |
|---|---|
| date | Thu, 11 Oct 2012 00:48:46 +0200 |
| parents | 15879e2aab65 |
| children | 2e6ba7259281 |
comparison
equal
deleted
inserted
replaced
| 50:2d0cda52f43f | 52:3898353ed1d8 |
|---|---|
| 1 <?php | 1 <?php |
| 2 include_once 'CacheTimeCheck.inc'; | 2 include_once 'CacheTimeCheck.inc'; |
| 3 | 3 |
| 4 $baseDir = dirname(__FILE__); | |
| 5 | |
| 4 $cache = CacheTimeCheck::instance(__FILE__); | 6 $cache = CacheTimeCheck::instance(__FILE__); |
| 5 $cache->includeOnce('http-response-status-codes.inc', dirname(__FILE__)); | 7 $cache->includeOnce('http-response-status-codes.inc', $baseDir); |
| 6 | 8 |
| 7 function repMapString($map) | 9 function repMapString($map) |
| 8 { | 10 { |
| 9 $opt = 'array('; | 11 $opt = 'array('; |
| 10 $start = True; | 12 $start = True; |
