Location: PHPKode > projects > Entier Studio > entierstudio/config/cfg.config.host.php
<?php
//
define("DS", "/");
//
if (isset($_SERVER['SERVER_NAME']))
    define("SERVER_HOST", $_SERVER['SERVER_NAME']);
elseif (isset($_SERVER['HOSTNAME']))
    define("SERVER_HOST", $_SERVER['HOSTNAME']);
elseif (isset($_SERVER['HTTP_HOST']))
    define("SERVER_HOST", $_SERVER['HTTP_HOST']);
elseif (isset($_SERVER['SERVER_ADDR']))
    define("SERVER_HOST", $_SERVER['SERVER_ADDR']);
else
    define("SERVER_HOST", 'localhost');
//
define("SERVER_ROOT", $_SERVER['DOCUMENT_ROOT']);
define("SCRIPT_FILE", $_SERVER['PHP_SELF']);
//
define("ENTIER_ROOT", dirname(dirname(SCRIPT_FILE)) . DS);
//
define("OFFICE_ROOT", "office/");
define("STUDIO_ROOT", "studio/");
define("MANUAL_ROOT", "manual/");
//
define("OFFICE_PATH", SERVER_HOST . ENTIER_ROOT . OFFICE_ROOT);
define("STUDIO_PATH", SERVER_HOST . ENTIER_ROOT . STUDIO_ROOT);
define("MANUAL_PATH", SERVER_HOST . ENTIER_ROOT . MANUAL_ROOT);
//
?>
Return current item: Entier Studio