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:
ngleader 2011-07-08 07:31:13 +00:00
parent e63e29ed39
commit b5bcdda20e
2 changed files with 15 additions and 0 deletions

View file

@ -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
View 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/');