Website Configuration (configuration.php)
<?php
//define( "DEBUG", FALSE );
//define( "APP_NAME", "Example" );
//define( "HOST_NAME", gethostname() );
//define( "RESOURCE_VER", "163" );
define( "DOCUMENT_ROOT", "/local/served/(DOCUMENT_ROOT)" );
define( "BASE", DOCUMENT_ROOT . "/(Project)/latest/(project)" );
define( "CONTENT_PATH", BASE . "/share/content" );
include( "../dep/libpagecentric/configuration/initalisation.php" );
<?php
if ( false )
{
$Include_PageCentric = BASE . "/dep/libpagecentric/obj";
$Include = BASE . "/source/php";
}
else
{
$Include_PageCentric = BASE . "/dep/libpagecentric/source/php";
$Include = BASE . "/source/php";
}
set_include_path( $Include_PageCentric . ":" . $Include );
include_once( BASE . "/dep/libpagecentric/lib/autoload.php" );
include_once( BASE . "/lib/autoload.php" );
Page::initialise();