Source for file index.php
Documentation is available at index.php
* index.php file for admin area
* @author Felix Rupp <kontakt@felixrupp.com>
* @copyright Copyright (c) 2011, Felix Rupp, Nicole Reinhardt
* @license http://www.opensource.org/licenses/mit-license.php MIT-License
# Error reporting for testing
* @var string BASEDIR Constant which represents the basedir of the server
define("BASEDIR", substr($_SERVER["SCRIPT_FILENAME"], 0, strrpos($_SERVER["SCRIPT_FILENAME"],"/admin/")));
* @var string TEMPLATEDIR Constant which represents the template directory of Caramel CMS installation
define("TEMPLATEDIR", substr($_SERVER["SCRIPT_NAME"], 0, strrpos($_SERVER["SCRIPT_NAME"],"/admin/")).
"/template");
require_once(BASEDIR.
'/inc/controller/BackendController.php');
$backendController->sessionAction();
<?php echo
($backendController->versionInformationAction()); ?>
<?php echo
($backendController->headTagAction()); ?>
<?php echo
$backendController->backendOutputAction(); ?>