commit 597f74fad780b6e51b186840f649acd94d256f35 parent 11b7a9a5729712ef95bc2b32104b04173bc7468c Author: MTRNord <mtrnord1@gmail.com> Date: Sat, 13 Dec 2014 18:49:58 +0100 try fresh pfadfinding Diffstat:
| M | core/backend/admin/blog/newpost.php | | | 12 | +++++++++--- |
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/core/backend/admin/blog/newpost.php b/core/backend/admin/blog/newpost.php @@ -1,5 +1,12 @@ <?php -include('../../core/config/variables.config.php'); +$uri = $_SERVER['HTTP_HOST']; +$ssl = $_SERVER['HTTPS']; +if (empty($ssl)) { + $http = "http://"; +}else{ + $http = "https://"; +} +include("$uri$httpcore/config/variables.config.php"); ################ # lang support # @@ -31,6 +38,5 @@ foreach($langs as $prio => $lang) { } // AND SO ON ................. } -$uri = $_SERVER['HTTP_HOST']; -echo "$uri"; + ?> \ No newline at end of file