2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Simple wrapper just to enable error reporting and include config
9 // rfc2616 - Section 14.21
10 header('Expires: ' . date(DATE_RFC1123
));
13 'Cache-Control: no-store, no-cache, must-revalidate,'
14 . ' pre-check=0, post-check=0, max-age=0'
16 if (isset($_SERVER['HTTP_USER_AGENT'])
17 && stristr($_SERVER['HTTP_USER_AGENT'], 'MSIE')
20 /* FIXME: Why is this special case for IE needed? */
21 header('Pragma: public');
23 header('Pragma: no-cache'); // HTTP/1.0
24 // test case: exporting a database into a .gz file with Safari
25 // would produce files not having the current time
26 // (added this header for Safari but should not harm other browsers)
27 header('Last-Modified: ' . date(DATE_RFC1123
));
29 header('Content-Type: text/html; charset=utf-8');
31 require 'libraries/vendor_config.php';
33 error_reporting(E_ALL
);
37 if (is_readable(CONFIG_FILE
)) {