2022-04-09 10:01:42 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2022-04-12 19:41:51 +00:00
|
|
|
* @package Octoleo CMS
|
2022-04-09 10:01:42 +00:00
|
|
|
*
|
2022-04-12 19:41:51 +00:00
|
|
|
* @created 9th April 2022
|
|
|
|
* @author Llewellyn van der Merwe <https://git.vdm.dev/Llewellyn>
|
|
|
|
* @git WEBD-325-45 <https://git.vdm.dev/Llewellyn/WEBD-325-45>
|
2022-04-09 10:01:42 +00:00
|
|
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
2022-04-12 19:41:51 +00:00
|
|
|
defined('_LEXEC') or die;
|
2022-04-09 10:01:42 +00:00
|
|
|
|
|
|
|
// Global definitions
|
2022-04-12 19:41:51 +00:00
|
|
|
$parts = explode(DIRECTORY_SEPARATOR, LPATH_BASE);
|
2022-04-09 10:01:42 +00:00
|
|
|
|
|
|
|
// Defines.
|
2022-04-12 19:41:51 +00:00
|
|
|
define('LPATH_ROOT', implode(DIRECTORY_SEPARATOR, $parts));
|
|
|
|
define('LPATH_SITE', LPATH_ROOT);
|
|
|
|
define('LPATH_CONFIGURATION', LPATH_ROOT);
|
|
|
|
define('LPATH_ADMINISTRATOR', LPATH_ROOT . DIRECTORY_SEPARATOR . 'administrator');
|
|
|
|
define('LPATH_LIBRARIES', LPATH_ROOT . DIRECTORY_SEPARATOR . 'libraries');
|
|
|
|
define('LPATH_INSTALLATION', LPATH_ROOT . DIRECTORY_SEPARATOR . 'installation');
|
|
|
|
define('LPATH_TEMPLATES', LPATH_ROOT . DIRECTORY_SEPARATOR . 'templates/site');
|