123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- header('Expires: ' . gmdate(DATE_RFC1123));
- header(
- 'Cache-Control: no-store, no-cache, must-revalidate,'
- . ' pre-check=0, post-check=0, max-age=0'
- );
- if (isset($_SERVER['HTTP_USER_AGENT'])
- && stristr($_SERVER['HTTP_USER_AGENT'], 'MSIE')
- ) {
-
- header('Pragma: public');
- } else {
- header('Pragma: no-cache');
-
-
-
- header('Last-Modified: ' . gmdate(DATE_RFC1123));
- }
- header('Content-Type: text/html; charset=utf-8');
- require 'libraries/vendor_config.php';
- if (function_exists('error_reporting')) {
- error_reporting(E_ALL);
- }
- if (is_readable(CONFIG_FILE)) {
- include CONFIG_FILE;
- }
|