-
Notifications
You must be signed in to change notification settings - Fork 0
/
2directories.cfg.php
32 lines (27 loc) · 1.56 KB
/
2directories.cfg.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
/**
* Absolute File Paths for Internal Directories
*
* Please specify the absolute file path for all the following directories in your QCubed-based web
* application.
*
* Note that all paths must start with a slash or 'x:\' (for windows users) and must have
* no ending slashes. (We take advantage of the QCUBED_PROJECT_INCLUDES_DIR to help simplify this section.
* But note that this is NOT required. These directories can also reside outside of the
* Document Root altogether. So feel free to use or not use the __DOCROOT__ and QCUBED_PROJECT_INCLUDES_DIR
* constants as you wish/need in defining your other directory constants.)
*/
define ('QCUBED_APP_INCLUDES_DIR', QCUBED_PROJECT_INCLUDES_DIR . '/app_includes');
// Browser writable temporary directory for various framework generated files. Handle with care. Does not need to be in docroot.
define ('QCUBED_TMP_DIR', QCUBED_PROJECT_DIR . '/tmp');
define ('QCUBED_CACHE_DIR', QCUBED_TMP_DIR . '/cache');
define ('QCUBED_FILE_CACHE_DIR', QCUBED_TMP_DIR . '/cache');
define ('QCUBED_PLUGIN_TMP_DIR', QCUBED_TMP_DIR . '/plugin');
define ('QCUBED_PURIFIER_CACHE_DIR', QCUBED_CACHE_DIR . '/purifier');
s/**
* The absolute paths of the "upload" and "_files" folders as well as their URL paths are also added here.
*/
define ('APP_UPLOADS_URL', QCUBED_URL_PREFIX . '/project/assets/upload');
define ('APP_UPLOADS_DIR', $_SERVER['DOCUMENT_ROOT'] . APP_UPLOADS_URL);
define ('APP_UPLOADS_TEMP_URL', QCUBED_URL_PREFIX . '/project/tmp');
define ('APP_UPLOADS_TEMP_DIR', $_SERVER['DOCUMENT_ROOT'] . APP_UPLOADS_TEMP_URL);