diff options
author | Andrew Dolgov <[email protected]> | 2011-12-13 12:03:50 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-12-13 12:03:50 +0400 |
commit | 94976024848e94f2e1987b82b0b1d0d4140a416d (patch) | |
tree | 450ab55e72cc1848901b35c564a159c1f5188946 /index.php | |
parent | 4f09f594c24a2fbdacd6124ecdeb07b92814cb88 (diff) | |
parent | 9da0e4a2ff84b097cf436b2641fc056315278f55 (diff) |
Merge branch 'master' into tiny-oop
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,4 +1,10 @@ <?php + if (!file_exists("config.php")) { + print "<b>Fatal Error</b>: You forgot to copy + <b>config.php-dist</b> to <b>config.php</b> and edit it.\n"; + exit; + } + set_include_path(get_include_path() . PATH_SEPARATOR . "include"); require_once "functions.php"; |