From 0dab9b4fee9667c994cf4ac61e6e00823c72ab19 Mon Sep 17 00:00:00 2001 From: LeoColomb Date: Sun, 16 Feb 2014 12:56:26 +0100 Subject: [PATCH] Fixes no reponse --- index.php | 3 +-- libs/functions.php | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index 1e3b1d4..088d648 100644 --- a/index.php +++ b/index.php @@ -63,8 +63,7 @@ software, even if advised of the possibility of such damage. */ -require_once('libs/functions.php'); - +require_once dirname( __FILE__ ) . '/libs/functions.php'; $options = get_options(); $command_line=FALSE; diff --git a/libs/functions.php b/libs/functions.php index ce92989..11ca492 100644 --- a/libs/functions.php +++ b/libs/functions.php @@ -14,7 +14,7 @@ * Learn more about what you can customize here: http://daux.io */ -require_once('libs/markdown_extended.php'); +require_once dirname( __FILE__) . '/libs/markdown_extended.php'); // Check for homepage $homepage = (get_uri(false) === "") ? true : false; @@ -501,7 +501,6 @@ function generate_page($options, $url_params, $base_url, $return=FALSE, &$flat_t return $buffer; }else{ ob_end_flush(); - @ob_end_clean(); } }