includes/defaults.inc.php
Defaults
- Package
- Broker
Constants
SITE_LOCATION
= rtrim(dirname($_SERVER["SCRIPT_NAME"]), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR
- Package
- Broker
SITE_ROOT_DIR
= rtrim(realpath(dirname(dirname(__FILE__))), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR
- Package
- Broker
SITE_CONFIG_MODULES_EXPANSION_DIR
= SITE_CONFIG_MODULES_DIR . CONFIG_MODULES_EXPANSION_DIR . DIRECTORY_SEPARATOR
- Package
- Broker
SITE_INCLUDES_MODULES_DIR
= SITE_INCLUDES_DIR . INCLUDES_MODULES_DIR . DIRECTORY_SEPARATOR
- Package
- Broker
SITE_LAYOUT_SMARTY_TEMPLATES_DIR
= SITE_LAYOUT_SMARTY_DIR . LAYOUT_SMARTY_TEMPLATES_DIR . DIRECTORY_SEPARATOR
- Package
- Broker
SITE_LAYOUT_SMARTY_CONFIG_DIR
= SITE_LAYOUT_SMARTY_DIR . LAYOUT_SMARTY_CONFIG_DIR . DIRECTORY_SEPARATOR
- Package
- Broker
SITE_CACHE_CONFIGURATION_DIR
= SITE_CACHE_DIR . CACHE_CONFIGURATION_DIR . DIRECTORY_SEPARATOR
- Package
- Broker
SITE_CACHE_SMARTY_CACHE_DIR
= SITE_CACHE_SMARTY_DIR . CACHE_SMARTY_CACHE_DIR . DIRECTORY_SEPARATOR
- Package
- Broker
Functions
autoLoader(string $class) : void
Autoloader class
Parameters
Details
Name | Type | Description |
---|---|---|
$class | string |
- Package
- Broker