diff options
Diffstat (limited to 'main/app/defines.php')
-rw-r--r-- | main/app/defines.php | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/main/app/defines.php b/main/app/defines.php index d129424..30c4bff 100644 --- a/main/app/defines.php +++ b/main/app/defines.php @@ -1,52 +1,52 @@ -<?php - -namespace UserFrosting; - -// Some standard defines -define('UserFrosting\VERSION', '4.1.17-alpha'); -define('UserFrosting\DS', '/'); -define('UserFrosting\PHP_MIN_VERSION', '5.6'); -define('UserFrosting\DEBUG_CONFIG', false); - -// Directories and Paths - -// The directory in which the non-public files reside. Should be the same as the directory that this file is in. -if (!defined('UserFrosting\APP_DIR')) { - define('UserFrosting\APP_DIR', str_replace(DIRECTORY_SEPARATOR, DS, __DIR__)); -} - -// The directory containing APP_DIR. Usually, this will contain the entire website. -define('UserFrosting\ROOT_DIR', realpath(__DIR__ . '/..')); - -define('UserFrosting\APP_DIR_NAME', basename(__DIR__)); -define('UserFrosting\BUILD_DIR_NAME', 'build'); -define('UserFrosting\CACHE_DIR_NAME', 'cache'); -define('UserFrosting\DB_DIR_NAME', 'database'); -define('UserFrosting\SESSION_DIR_NAME', 'sessions'); -define('UserFrosting\SPRINKLES_DIR_NAME', 'sprinkles'); - -// Full path to Sprinkles directory -define('UserFrosting\SPRINKLES_DIR', APP_DIR . DS . SPRINKLES_DIR_NAME); - -// Sprinkles schema file -define('UserFrosting\SPRINKLES_SCHEMA_FILE', APP_DIR . DS . 'sprinkles.json'); - -define('UserFrosting\LOG_DIR_NAME', 'logs'); -define('UserFrosting\VENDOR_DIR_NAME', 'vendor'); - -// Full path to Composer's vendor directory -define('UserFrosting\VENDOR_DIR', APP_DIR . DS . VENDOR_DIR_NAME); - -// Full path to database directory (SQLite only) -define('UserFrosting\DB_DIR', APP_DIR . DS . DB_DIR_NAME); - -// Names of directories within Sprinkles -define('UserFrosting\ASSET_DIR_NAME', 'assets'); -define('UserFrosting\EXTRA_DIR_NAME', 'extra'); -define('UserFrosting\CONFIG_DIR_NAME', 'config'); -define('UserFrosting\LOCALE_DIR_NAME', 'locale'); -define('UserFrosting\ROUTE_DIR_NAME', 'routes'); -define('UserFrosting\SCHEMA_DIR_NAME', 'schema'); -define('UserFrosting\SRC_DIR_NAME', 'src'); -define('UserFrosting\TEMPLATE_DIR_NAME', 'templates'); -define('UserFrosting\FACTORY_DIR_NAME', 'factories'); +<?php
+
+namespace UserFrosting;
+
+// Some standard defines
+define('UserFrosting\VERSION', '4.1.17-alpha');
+define('UserFrosting\DS', '/');
+define('UserFrosting\PHP_MIN_VERSION', '5.6');
+define('UserFrosting\DEBUG_CONFIG', false);
+
+// Directories and Paths
+
+// The directory in which the non-public files reside. Should be the same as the directory that this file is in.
+if (!defined('UserFrosting\APP_DIR')) {
+ define('UserFrosting\APP_DIR', str_replace(DIRECTORY_SEPARATOR, DS, __DIR__));
+}
+
+// The directory containing APP_DIR. Usually, this will contain the entire website.
+define('UserFrosting\ROOT_DIR', realpath(__DIR__ . '/..'));
+
+define('UserFrosting\APP_DIR_NAME', basename(__DIR__));
+define('UserFrosting\BUILD_DIR_NAME', 'build');
+define('UserFrosting\CACHE_DIR_NAME', 'cache');
+define('UserFrosting\DB_DIR_NAME', 'database');
+define('UserFrosting\SESSION_DIR_NAME', 'sessions');
+define('UserFrosting\SPRINKLES_DIR_NAME', 'sprinkles');
+
+// Full path to Sprinkles directory
+define('UserFrosting\SPRINKLES_DIR', APP_DIR . DS . SPRINKLES_DIR_NAME);
+
+// Sprinkles schema file
+define('UserFrosting\SPRINKLES_SCHEMA_FILE', APP_DIR . DS . 'sprinkles.json');
+
+define('UserFrosting\LOG_DIR_NAME', 'logs');
+define('UserFrosting\VENDOR_DIR_NAME', 'vendor');
+
+// Full path to Composer's vendor directory
+define('UserFrosting\VENDOR_DIR', APP_DIR . DS . VENDOR_DIR_NAME);
+
+// Full path to database directory (SQLite only)
+define('UserFrosting\DB_DIR', APP_DIR . DS . DB_DIR_NAME);
+
+// Names of directories within Sprinkles
+define('UserFrosting\ASSET_DIR_NAME', 'assets');
+define('UserFrosting\EXTRA_DIR_NAME', 'extra');
+define('UserFrosting\CONFIG_DIR_NAME', 'config');
+define('UserFrosting\LOCALE_DIR_NAME', 'locale');
+define('UserFrosting\ROUTE_DIR_NAME', 'routes');
+define('UserFrosting\SCHEMA_DIR_NAME', 'schema');
+define('UserFrosting\SRC_DIR_NAME', 'src');
+define('UserFrosting\TEMPLATE_DIR_NAME', 'templates');
+define('UserFrosting\FACTORY_DIR_NAME', 'factories');
|