mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
issue 71 Adding package config file
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8579 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e63e29ed39
commit
b5bcdda20e
2 changed files with 15 additions and 0 deletions
|
|
@ -25,6 +25,16 @@
|
|||
**/
|
||||
ini_set('session.use_only_cookies', 0);
|
||||
|
||||
|
||||
if(file_exists(_XE_PATH_.'config/package.inc.php')) {
|
||||
require _XE_PATH_.'config/package.inc.php';
|
||||
} else {
|
||||
define('_XE_PACKAGE_','XE');
|
||||
define('_XE_LOCATION_','en');
|
||||
define('_XE_LOCATION_SITE_','http://www.xpressengine.org/');
|
||||
define('_XE_DOWNLOAD_SERVER_','http://en.download.xpressengine.com/');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief user configuration files which override the default settings
|
||||
* save the following information into config/config.user.inc.php
|
||||
|
|
|
|||
5
config/package.inc.php
Normal file
5
config/package.inc.php
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
define('_XE_PACKAGE_','XE');
|
||||
define('_XE_LOCATION_','ko');
|
||||
define('_XE_LOCATION_SITE_','http://www.xpressengine.com/');
|
||||
define('_XE_DOWNLOAD_SERVER_','http://download.xpressengine.com/');
|
||||
Loading…
Add table
Add a link
Reference in a new issue