コード例 #1
0
ファイル: constants.php プロジェクト: BlueTeck/kanboard
// Available cache drivers are "file" and "memory"
defined('CACHE_DRIVER') or define('CACHE_DRIVER', 'memory');
// Cache folder (file driver)
defined('CACHE_DIR') or define('CACHE_DIR', DATA_DIR . DIRECTORY_SEPARATOR . 'cache');
// Plugins settings
defined('PLUGINS_DIR') or define('PLUGINS_DIR', ROOT_DIR . DIRECTORY_SEPARATOR . 'plugins');
defined('PLUGIN_API_URL') or define('PLUGIN_API_URL', 'https://kanboard.net/plugins.json');
defined('PLUGIN_INSTALLER') or define('PLUGIN_INSTALLER', true);
// Enable/disable debug
defined('DEBUG') or define('DEBUG', strtolower(getenv('DEBUG')) === 'true');
// Logging drivers: syslog, stdout, stderr or file
defined('LOG_DRIVER') or define('LOG_DRIVER', '');
// Logging file
defined('LOG_FILE') or define('LOG_FILE', DATA_DIR . DIRECTORY_SEPARATOR . 'debug.log');
// Application version
defined('APP_VERSION') or define('APP_VERSION', build_app_version(' (HEAD -> master)', '5ab4cfd35b7550123bfbf9b1d57bf2aefc56f786'));
// Database driver: sqlite, mysql or postgres
defined('DB_DRIVER') or define('DB_DRIVER', 'sqlite');
// Sqlite configuration
defined('DB_FILENAME') or define('DB_FILENAME', DATA_DIR . DIRECTORY_SEPARATOR . 'db.sqlite');
// Mysql/Postgres configuration
defined('DB_USERNAME') or define('DB_USERNAME', 'root');
defined('DB_PASSWORD') or define('DB_PASSWORD', '');
defined('DB_HOSTNAME') or define('DB_HOSTNAME', 'localhost');
defined('DB_NAME') or define('DB_NAME', 'kanboard');
defined('DB_PORT') or define('DB_PORT', null);
defined('DB_SSL_KEY') or define('DB_SSL_KEY', null);
defined('DB_SSL_CERT') or define('DB_SSL_CERT', null);
defined('DB_SSL_CA') or define('DB_SSL_CA', null);
// Database backend group provider
defined('DB_GROUP_PROVIDER') or define('DB_GROUP_PROVIDER', true);
コード例 #2
0
ファイル: constants.php プロジェクト: Nerdingher/kanboard
// Available cache drivers are "file" and "memory"
defined('CACHE_DRIVER') or define('CACHE_DRIVER', 'memory');
// Cache folder (file driver)
defined('CACHE_DIR') or define('CACHE_DIR', DATA_DIR . DIRECTORY_SEPARATOR . 'cache');
// Plugins settings
defined('PLUGINS_DIR') or define('PLUGINS_DIR', ROOT_DIR . DIRECTORY_SEPARATOR . 'plugins');
defined('PLUGIN_API_URL') or define('PLUGIN_API_URL', 'https://kanboard.net/plugins.json');
defined('PLUGIN_INSTALLER') or define('PLUGIN_INSTALLER', true);
// Enable/disable debug
defined('DEBUG') or define('DEBUG', strtolower(getenv('DEBUG')) === 'true');
// Logging drivers: syslog, stdout, stderr or file
defined('LOG_DRIVER') or define('LOG_DRIVER', '');
// Logging file
defined('LOG_FILE') or define('LOG_FILE', DATA_DIR . DIRECTORY_SEPARATOR . 'debug.log');
// Application version
defined('APP_VERSION') or define('APP_VERSION', build_app_version(' (HEAD -> master)', 'ae5d31e4c285e0ce672de780fdacff953fe71bba'));
// Database driver: sqlite, mysql or postgres
defined('DB_DRIVER') or define('DB_DRIVER', 'sqlite');
// Sqlite configuration
defined('DB_FILENAME') or define('DB_FILENAME', DATA_DIR . DIRECTORY_SEPARATOR . 'db.sqlite');
// Mysql/Postgres configuration
defined('DB_USERNAME') or define('DB_USERNAME', 'root');
defined('DB_PASSWORD') or define('DB_PASSWORD', '');
defined('DB_HOSTNAME') or define('DB_HOSTNAME', 'localhost');
defined('DB_NAME') or define('DB_NAME', 'kanboard');
defined('DB_PORT') or define('DB_PORT', null);
defined('DB_SSL_KEY') or define('DB_SSL_KEY', null);
defined('DB_SSL_CERT') or define('DB_SSL_CERT', null);
defined('DB_SSL_CA') or define('DB_SSL_CA', null);
// Database backend group provider
defined('DB_GROUP_PROVIDER') or define('DB_GROUP_PROVIDER', true);
コード例 #3
0
ファイル: constants.php プロジェクト: rammstein4o/kanboard
// App directory
define('APP_DIR', __DIR__);
// Data directory location
defined('DATA_DIR') or define('DATA_DIR', ROOT_DIR . DIRECTORY_SEPARATOR . 'data');
// Files directory (attachments)
defined('FILES_DIR') or define('FILES_DIR', DATA_DIR . DIRECTORY_SEPARATOR . 'files');
// Plugins directory
defined('PLUGINS_DIR') or define('PLUGINS_DIR', ROOT_DIR . DIRECTORY_SEPARATOR . 'plugins');
// Enable/disable debug
defined('DEBUG') or define('DEBUG', strtolower(getenv('DEBUG')) === 'true');
// Logging drivers: syslog, stdout, stderr or file
defined('LOG_DRIVER') or define('LOG_DRIVER', getenv('LOG_DRIVER'));
// Logging file
defined('LOG_FILE') or define('LOG_FILE', DATA_DIR . DIRECTORY_SEPARATOR . 'debug.log');
// Application version
defined('APP_VERSION') or define('APP_VERSION', build_app_version(' (HEAD -> master)', 'be599c510c51506d807d6b899e06b4113b8b1b16'));
// Database driver: sqlite, mysql or postgres
defined('DB_DRIVER') or define('DB_DRIVER', 'sqlite');
// Sqlite configuration
defined('DB_FILENAME') or define('DB_FILENAME', DATA_DIR . DIRECTORY_SEPARATOR . 'db.sqlite');
// Mysql/Postgres configuration
defined('DB_USERNAME') or define('DB_USERNAME', 'root');
defined('DB_PASSWORD') or define('DB_PASSWORD', '');
defined('DB_HOSTNAME') or define('DB_HOSTNAME', 'localhost');
defined('DB_NAME') or define('DB_NAME', 'kanboard');
defined('DB_PORT') or define('DB_PORT', null);
defined('DB_SSL_KEY') or define('DB_SSL_KEY', null);
defined('DB_SSL_CERT') or define('DB_SSL_CERT', null);
defined('DB_SSL_CA') or define('DB_SSL_CA', null);
// Database backend group provider
defined('DB_GROUP_PROVIDER') or define('DB_GROUP_PROVIDER', true);
コード例 #4
0
ファイル: constants.php プロジェクト: phecho/kanboard
// Available cache drivers are "file" and "memory"
defined('CACHE_DRIVER') or define('CACHE_DRIVER', 'memory');
// Cache folder (file driver)
defined('CACHE_DIR') or define('CACHE_DIR', DATA_DIR . DIRECTORY_SEPARATOR . 'cache');
// Plugins settings
defined('PLUGINS_DIR') or define('PLUGINS_DIR', ROOT_DIR . DIRECTORY_SEPARATOR . 'plugins');
defined('PLUGIN_API_URL') or define('PLUGIN_API_URL', 'https://kanboard.net/plugins.json');
defined('PLUGIN_INSTALLER') or define('PLUGIN_INSTALLER', true);
// Enable/disable debug
defined('DEBUG') or define('DEBUG', strtolower(getenv('DEBUG')) === 'true');
// Logging drivers: syslog, stdout, stderr or file
defined('LOG_DRIVER') or define('LOG_DRIVER', '');
// Logging file
defined('LOG_FILE') or define('LOG_FILE', DATA_DIR . DIRECTORY_SEPARATOR . 'debug.log');
// Application version
defined('APP_VERSION') or define('APP_VERSION', build_app_version(' (HEAD -> master)', 'f83178bef8084bfe57963b1820e73b4a9ab0bab5'));
// Run automatically database migrations
defined('DB_RUN_MIGRATIONS') or define('DB_RUN_MIGRATIONS', true);
// Database driver: sqlite, mysql or postgres
defined('DB_DRIVER') or define('DB_DRIVER', 'sqlite');
// Sqlite configuration
defined('DB_FILENAME') or define('DB_FILENAME', DATA_DIR . DIRECTORY_SEPARATOR . 'db.sqlite');
// Mysql/Postgres configuration
defined('DB_USERNAME') or define('DB_USERNAME', 'root');
defined('DB_PASSWORD') or define('DB_PASSWORD', '');
defined('DB_HOSTNAME') or define('DB_HOSTNAME', 'localhost');
defined('DB_NAME') or define('DB_NAME', 'kanboard');
defined('DB_PORT') or define('DB_PORT', null);
defined('DB_SSL_KEY') or define('DB_SSL_KEY', null);
defined('DB_SSL_CERT') or define('DB_SSL_CERT', null);
defined('DB_SSL_CA') or define('DB_SSL_CA', null);
コード例 #5
0
ファイル: constants.php プロジェクト: jtourt/kanboard
// Data directory location
defined('DATA_DIR') or define('DATA_DIR', ROOT_DIR . DIRECTORY_SEPARATOR . 'data');
// Files directory (attachments)
defined('FILES_DIR') or define('FILES_DIR', DATA_DIR . DIRECTORY_SEPARATOR . 'files');
// Plugins settings
defined('PLUGINS_DIR') or define('PLUGINS_DIR', ROOT_DIR . DIRECTORY_SEPARATOR . 'plugins');
defined('PLUGIN_API_URL') or define('PLUGIN_API_URL', 'https://kanboard.net/plugins.json');
defined('PLUGIN_INSTALLER') or define('PLUGIN_INSTALLER', true);
// Enable/disable debug
defined('DEBUG') or define('DEBUG', strtolower(getenv('DEBUG')) === 'true');
// Logging drivers: syslog, stdout, stderr or file
defined('LOG_DRIVER') or define('LOG_DRIVER', getenv('LOG_DRIVER'));
// Logging file
defined('LOG_FILE') or define('LOG_FILE', DATA_DIR . DIRECTORY_SEPARATOR . 'debug.log');
// Application version
defined('APP_VERSION') or define('APP_VERSION', build_app_version(' (HEAD -> master)', '04a5f370676c51537bcc741768ab9f8e38710e03'));
// Database driver: sqlite, mysql or postgres
defined('DB_DRIVER') or define('DB_DRIVER', 'sqlite');
// Sqlite configuration
defined('DB_FILENAME') or define('DB_FILENAME', DATA_DIR . DIRECTORY_SEPARATOR . 'db.sqlite');
// Mysql/Postgres configuration
defined('DB_USERNAME') or define('DB_USERNAME', 'root');
defined('DB_PASSWORD') or define('DB_PASSWORD', '');
defined('DB_HOSTNAME') or define('DB_HOSTNAME', 'localhost');
defined('DB_NAME') or define('DB_NAME', 'kanboard');
defined('DB_PORT') or define('DB_PORT', null);
defined('DB_SSL_KEY') or define('DB_SSL_KEY', null);
defined('DB_SSL_CERT') or define('DB_SSL_CERT', null);
defined('DB_SSL_CA') or define('DB_SSL_CA', null);
// Database backend group provider
defined('DB_GROUP_PROVIDER') or define('DB_GROUP_PROVIDER', true);
コード例 #6
0
ファイル: constants.php プロジェクト: vaikan/kanboard
// Available cache drivers are "file" and "memory"
defined('CACHE_DRIVER') or define('CACHE_DRIVER', 'memory');
// Cache folder (file driver)
defined('CACHE_DIR') or define('CACHE_DIR', DATA_DIR . DIRECTORY_SEPARATOR . 'cache');
// Plugins settings
defined('PLUGINS_DIR') or define('PLUGINS_DIR', ROOT_DIR . DIRECTORY_SEPARATOR . 'plugins');
defined('PLUGIN_API_URL') or define('PLUGIN_API_URL', 'https://kanboard.net/plugins.json');
defined('PLUGIN_INSTALLER') or define('PLUGIN_INSTALLER', true);
// Enable/disable debug
defined('DEBUG') or define('DEBUG', strtolower(getenv('DEBUG')) === 'true');
// Logging drivers: syslog, stdout, stderr or file
defined('LOG_DRIVER') or define('LOG_DRIVER', '');
// Logging file
defined('LOG_FILE') or define('LOG_FILE', DATA_DIR . DIRECTORY_SEPARATOR . 'debug.log');
// Application version
defined('APP_VERSION') or define('APP_VERSION', build_app_version(' (HEAD -> master)', '7ad291883b91757bc429d7405ac9253828b25d3b'));
// Database driver: sqlite, mysql or postgres
defined('DB_DRIVER') or define('DB_DRIVER', 'sqlite');
// Sqlite configuration
defined('DB_FILENAME') or define('DB_FILENAME', DATA_DIR . DIRECTORY_SEPARATOR . 'db.sqlite');
// Mysql/Postgres configuration
defined('DB_USERNAME') or define('DB_USERNAME', 'root');
defined('DB_PASSWORD') or define('DB_PASSWORD', '');
defined('DB_HOSTNAME') or define('DB_HOSTNAME', 'localhost');
defined('DB_NAME') or define('DB_NAME', 'kanboard');
defined('DB_PORT') or define('DB_PORT', null);
defined('DB_SSL_KEY') or define('DB_SSL_KEY', null);
defined('DB_SSL_CERT') or define('DB_SSL_CERT', null);
defined('DB_SSL_CA') or define('DB_SSL_CA', null);
// Database backend group provider
defined('DB_GROUP_PROVIDER') or define('DB_GROUP_PROVIDER', true);
コード例 #7
0
ファイル: constants.php プロジェクト: renothing/kanboard
// Data directory location
defined('DATA_DIR') or define('DATA_DIR', ROOT_DIR . DIRECTORY_SEPARATOR . 'data');
// Files directory (attachments)
defined('FILES_DIR') or define('FILES_DIR', DATA_DIR . DIRECTORY_SEPARATOR . 'files');
// Plugins settings
defined('PLUGINS_DIR') or define('PLUGINS_DIR', ROOT_DIR . DIRECTORY_SEPARATOR . 'plugins');
defined('PLUGIN_API_URL') or define('PLUGIN_API_URL', 'https://kanboard.net/plugins.json');
defined('PLUGIN_INSTALLER') or define('PLUGIN_INSTALLER', true);
// Enable/disable debug
defined('DEBUG') or define('DEBUG', strtolower(getenv('DEBUG')) === 'true');
// Logging drivers: syslog, stdout, stderr or file
defined('LOG_DRIVER') or define('LOG_DRIVER', '');
// Logging file
defined('LOG_FILE') or define('LOG_FILE', DATA_DIR . DIRECTORY_SEPARATOR . 'debug.log');
// Application version
defined('APP_VERSION') or define('APP_VERSION', build_app_version(' (HEAD -> master)', '837173cf935a7f5f9c12c69f131a63e0f181d8f3'));
// Database driver: sqlite, mysql or postgres
defined('DB_DRIVER') or define('DB_DRIVER', 'sqlite');
// Sqlite configuration
defined('DB_FILENAME') or define('DB_FILENAME', DATA_DIR . DIRECTORY_SEPARATOR . 'db.sqlite');
// Mysql/Postgres configuration
defined('DB_USERNAME') or define('DB_USERNAME', 'root');
defined('DB_PASSWORD') or define('DB_PASSWORD', '');
defined('DB_HOSTNAME') or define('DB_HOSTNAME', 'localhost');
defined('DB_NAME') or define('DB_NAME', 'kanboard');
defined('DB_PORT') or define('DB_PORT', null);
defined('DB_SSL_KEY') or define('DB_SSL_KEY', null);
defined('DB_SSL_CERT') or define('DB_SSL_CERT', null);
defined('DB_SSL_CA') or define('DB_SSL_CA', null);
// Database backend group provider
defined('DB_GROUP_PROVIDER') or define('DB_GROUP_PROVIDER', true);
コード例 #8
0
ファイル: constants.php プロジェクト: xavividal/kanboard
// Data directory location
defined('DATA_DIR') or define('DATA_DIR', ROOT_DIR . DIRECTORY_SEPARATOR . 'data');
// Files directory (attachments)
defined('FILES_DIR') or define('FILES_DIR', DATA_DIR . DIRECTORY_SEPARATOR . 'files');
// Plugins settings
defined('PLUGINS_DIR') or define('PLUGINS_DIR', ROOT_DIR . DIRECTORY_SEPARATOR . 'plugins');
defined('PLUGIN_API_URL') or define('PLUGIN_API_URL', 'https://kanboard.net/plugins.json');
defined('PLUGIN_INSTALLER') or define('PLUGIN_INSTALLER', true);
// Enable/disable debug
defined('DEBUG') or define('DEBUG', strtolower(getenv('DEBUG')) === 'true');
// Logging drivers: syslog, stdout, stderr or file
defined('LOG_DRIVER') or define('LOG_DRIVER', getenv('LOG_DRIVER'));
// Logging file
defined('LOG_FILE') or define('LOG_FILE', DATA_DIR . DIRECTORY_SEPARATOR . 'debug.log');
// Application version
defined('APP_VERSION') or define('APP_VERSION', build_app_version(' (HEAD -> master)', 'dc6176fca23ea697380ab115aea976fa8271f047'));
// Database driver: sqlite, mysql or postgres
defined('DB_DRIVER') or define('DB_DRIVER', 'sqlite');
// Sqlite configuration
defined('DB_FILENAME') or define('DB_FILENAME', DATA_DIR . DIRECTORY_SEPARATOR . 'db.sqlite');
// Mysql/Postgres configuration
defined('DB_USERNAME') or define('DB_USERNAME', 'root');
defined('DB_PASSWORD') or define('DB_PASSWORD', '');
defined('DB_HOSTNAME') or define('DB_HOSTNAME', 'localhost');
defined('DB_NAME') or define('DB_NAME', 'kanboard');
defined('DB_PORT') or define('DB_PORT', null);
defined('DB_SSL_KEY') or define('DB_SSL_KEY', null);
defined('DB_SSL_CERT') or define('DB_SSL_CERT', null);
defined('DB_SSL_CA') or define('DB_SSL_CA', null);
// Database backend group provider
defined('DB_GROUP_PROVIDER') or define('DB_GROUP_PROVIDER', true);