diff options
Diffstat (limited to 'public.php')
-rw-r--r-- | public.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public.php b/public.php index 8ffc83224..675a9e352 100644 --- a/public.php +++ b/public.php @@ -1,5 +1,5 @@ <?php - set_include_path(get_include_path() . PATH_SEPARATOR . + set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . "/include"); /* remove ill effects of magic quotes */ @@ -34,7 +34,7 @@ if (!init_connection($link)) return; - if (ENABLE_GZIP_OUTPUT) { + if (ENABLE_GZIP_OUTPUT && function_exists("ob_gzhandler")) { ob_start("ob_gzhandler"); } |