commit 73b57642000832b3a72ca5fb93ef62a8078f2eea parent 0055f1ae3ebcc04eb6bb0d33dfb89d0fedd7d18a Author: MTRNord <mtrnord1@gmail.com> Date: Sat, 13 Dec 2014 19:22:51 +0100 urls don't work :/ Diffstat:
| M | core/backend/admin/blog/newpost.php | | | 13 | +++---------- |
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/core/backend/admin/blog/newpost.php b/core/backend/admin/blog/newpost.php @@ -1,14 +1,7 @@ <?php -$uri = (string)$_SERVER['HTTP_HOST']; -$ssl = (string)$_SERVER['HTTPS']; -if (empty($ssl)) { - $http = "http://"; -}else{ - $http = "https://"; -} -echo "$uri"; -echo "$http"; -include($http.$uri.'/core/config/variables.config.php'); +$old_include = get_include_path(); +echo $old_include; +include('/core/config/variables.config.php'); ################ # lang support #