Location: PHPKode > projects > Aukyla Document Management System > htdocs/index.php
<?php

// Uncomment the next line if you can't adjust the include_path setting in your
// php.ini file:
//set_include_path('.:aukyla/base:aukyla/apps:aukyla/plugins');

ignore_user_abort(true);

if($_SERVER['REQUEST_METHOD'] != 'GET' && $_SERVER['REQUEST_METHOD'] != 'POST')
{
	require_once('edit.php');
}

require_once('Modules/Modules.php');

require_once('Config.php');

if(Config::globals('serverSideXSLT', 'true') != 'true')
{
	header('Content-Type: text/xml');
}
else
{
	$contenttype = @file_get_contents(AUKYLA_DIR."/htdocs/resources/base/Output/".Config::globals('output').".contenttype");
	if($contenttype !== false)
	{
		header("Content-Type: $contenttype");
	}
}

$frontendName = Config::globals('frontend');
$className = "{$frontendName}Frontend";
require_once("Frontends/$className.php");

$className = str_replace('/', '_', $className);
$frontend = new $className;
$frontend->buildGUI();
$frontend->showGUI();

?>
Return current item: Aukyla Document Management System