-
Notifications
You must be signed in to change notification settings - Fork 12
/
const.php
60 lines (59 loc) · 1.6 KB
/
const.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
/**
* Zira project.
* const.php
* (c)2016 https://github.com/ziracms/zira
*/
/**
* Predefined constants
*/
const DEBUG = false;
const LANGUAGES_DIR = 'languages';
const CONTROLLERS_DIR = 'controllers';
const MODELS_DIR = 'models';
const THEMES_DIR = 'themes';
const ASSETS_DIR = 'assets';
const CSS_DIR = 'css';
const JS_DIR = 'js';
const FONTS_DIR = 'fonts';
const IMAGES_DIR = 'images';
const THUMBS_DIR = 'thumbs';
const TMP_DIR = 'tmp';
const CACHE_DIR = 'cache';
const UPLOADS_DIR = 'uploads';
const USERS_DIR = 'users';
const LOG_DIR = 'log';
const VENDOR_DIR = 'vendor';
const CHARSET = 'utf-8';
const MYSQL_CHARSET = 'utf8';
const SQLITE_CHARSET = 'UTF-8';
const SESSION_NAME = 'sid';
const LOG_ERRORS = true;
const CAPTCHA_WIDTH = 160;
const CAPTCHA_HEIGHT = 50;
const CAPTCHA_NAME = 'captcha';
const CAPTCHA_FONT = 'DroidSans';
const CAPTCHA_SLEEP_TIME = 60;
const CAPTCHA_SLEEP_MAX_REQUESTS = 10;
const CRON_MIN_INTERVAL = 60;
const DEFAULT_TIMEZONE = 'UTC';
const DEFAULT_LANGUAGE = 'en';
const DEFAULT_MODULE = 'zira';
const DEFAULT_CONTROLLER = 'index';
const DEFAULT_ACTION = 'index';
const CUSTOM_THUMBS_ACTION = 'thumbnailer';
const DEFAULT_THEME = 'default';
const DEFAULT_TITLE = 'Zira';
const FORMAT_GET_VAR = 'format';
const FORMAT_POST_VAR = 'format';
const FORMAT_JSON = 'json';
const FORMAT_HTML = 'html';
const FORMAT_TEXT = 'text';
const FILES_PREFIX = '';
const PAGE_TITLE_DELIMITER = ' - ';
const ENABLE_DASH_CONSOLE = true;
const ENABLE_CONFIG_DATABASE = true;
const CACHE_CATEGORIES_LIST = true;
const CACHE_WIDGETS_LIST = true;
const FORCE_GZIP_ASSETS = true;
const INSERT_SCRIPTS_TO_BODY = true;