Index: branches/main/admin/interface/version.php
===================================================================
--- branches/main/admin/interface/version.php	(revision 6)
+++ branches/main/admin/interface/version.php	(revision 7)
@@ -48,6 +48,6 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) { define('VERSION', '2.10.1-dev'); }
-if(!defined('REVISION')) { define('REVISION', '6'); }
+if(!defined('REVISION')) { define('REVISION', '7'); }
 if(!defined('SP')) { define('SP', ''); }
 
Index: branches/main/framework/Autoloader.php
===================================================================
--- branches/main/framework/Autoloader.php	(nonexistent)
+++ branches/main/framework/Autoloader.php	(revision 7)
@@ -0,0 +1,91 @@
+<?php
+
+/*
+ * Copyright (C) 2017 Manuela v.d.Decken <manuela@isteam.de>
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT OR THIS HEADER
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License 2 for more details.
+ *
+ * You should have received a copy of the GNU General Public License 2
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/**
+ * Description of Autoloader
+ *
+ * @package      Installer
+ * @copyright    Manuela v.d.Decken <manuela@isteam.de>
+ * @author       Manuela v.d.Decken <manuela@isteam.de>
+ * @license      GNU General Public License 3.0
+ * @version      0.0.1
+ * @revision     $Id$
+ * @since        File available since 05.07.2017
+ * @deprecated   no / since 0000/00/00
+ * @description  xxx
+ */
+//declare(strict_types = 1);
+declare(encoding = 'UTF-8');
+
+namespace bin;
+
+// use
+
+/**
+ * short description of class
+ */
+class Autoloader
+{
+
+    protected static $sInstallPath = '';
+    protected static $aTransNs = [
+        'bin'   => 'framework',
+        'addon' => 'modules',
+        'acp'   => 'admin'
+    ];
+
+    public static function autoLoad($sClassName)
+    {
+        $aMatches = \preg_split('=[\\\\/]=', $sClassName, null, \PREG_SPLIT_NO_EMPTY);
+        // insert default NS if no one is given
+        if (sizeof($aMatches) == 1) { array_unshift($aMatches, 'framework'); }
+        // translate namespaces into real dir entries
+        $aMatches[0] = str_replace(array_keys(self::$aTransNs), self::$aTransNs, $aMatches[0]);
+        // first seek in namespace
+        $sFilePath = self::$sInstallPath.\implode('/', $aMatches).'.php';
+        if (is_readable($sFilePath)) {
+            include $sFilePath;
+        } else {
+            // second seek in namespace with file prefix 'class.'
+            $sTmp = array_pop($aMatches);
+            $sFilePath = self::$sInstallPath.\implode('/', $aMatches).'/class.'.$sTmp.'.php';
+            array_push($aMatches, $sTmp);
+            if (is_readable($sFilePath)) {
+                include $sFilePath;
+            }
+        }
+    }
+/**
+ * register his autoloader
+ */
+    public static function doRegister()
+    {
+        self::$sInstallPath = rtrim(str_replace('\\', '/', dirname(__DIR__)), '/').'/';
+        \spl_autoload_register([self, 'autoLoad']);
+    }
+
+/**
+ * unregister his autoloader
+ */
+    public static function unRegister()
+    {
+        \spl_autoload_unregister([self, 'autoLoad']);
+    }
+
+}

Property changes on: branches/main/framework/Autoloader.php
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Index: branches/main/index.php
===================================================================
--- branches/main/index.php	(revision 6)
+++ branches/main/index.php	(revision 7)
@@ -33,10 +33,12 @@
  * of the host and absolute path as the argument of location. Some, but
  * not all clients will accept relative URIs also.
  */
+
+    $_SERVER['REQUEST_SCHEME'] = isset($_SERVER['REQUEST_SCHEME']) ? $_SERVER['REQUEST_SCHEME'] : 'http';
     $host       = $_SERVER['HTTP_HOST'];
     $uri        = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
     $file       = 'install/index.php';
-    $target_url = 'http://'.$host.$uri.'/'.$file;
+    $target_url = $_SERVER['REQUEST_SCHEME'].'://'.$host.$uri.'/'.$file;
     $sResponse  = $_SERVER['SERVER_PROTOCOL'].' 307 Temporary Redirect';
     header($sResponse);
     header('Location: '.$target_url);
@@ -43,7 +45,7 @@
     exit;    // make sure that subsequent code will not be executed
 }
 
-if (!class_exists('frontend')) { require(WB_PATH.'/framework/class.frontend.php');  }
+// if (!class_exists('frontend')) { require WB_PATH.'/framework/class.frontend.php';  }
 // Create new frontend object
 if (!isset($wb) || !($wb instanceof frontend)) { $wb = new frontend(); }
 
