Erweiterung der Funktionalität, erste Anbindung an Editoren, Einbinden von JS-Bibliotheken
This commit is contained in:
24
backend/editor/index.php
Normal file
24
backend/editor/index.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by CS medien- & kommunikationssysteme.
|
||||
* @author Christian Steinle
|
||||
* @date 29.09.2016
|
||||
*
|
||||
* @copyright CS medien- & kommunikationssysteme (http://www.steinle-computer.de)
|
||||
*/
|
||||
|
||||
session_start();
|
||||
$_SESSION['lang'] = 'de';
|
||||
|
||||
$siteID = (!isset($_GET['siteID']) || empty($_GET['siteID'])) ? '1' : $_GET['siteID'];
|
||||
$pathRoot = dirname(dirname(__DIR__)) . '/';
|
||||
|
||||
require_once($pathRoot . '.config/config_global.php');
|
||||
require_once(__DIR__ . '/.config/editor_config.php');
|
||||
$loader = require PATH_ROOT . '/vendor/autoload.php';
|
||||
|
||||
$registry = \Helper\Registry::getInstance();
|
||||
$registry->editorConfig = $editor;
|
||||
$registry->editorConfig['token'] = session_id();
|
||||
|
||||
$route = new \Route\FrontendRoute($siteID, true);
|
||||
Reference in New Issue
Block a user