Configure : path
This commit is contained in:
parent
5ebf98e79d
commit
297acc9fcd
@ -17,8 +17,9 @@ set_include_path(implode(PATH_SEPARATOR, array(
|
|||||||
)));
|
)));
|
||||||
|
|
||||||
//Copy configuration
|
//Copy configuration
|
||||||
|
$configDir = realpath(dirname(__FILE__)).'/config';
|
||||||
$hostname = exec('echo $(hostname)');
|
$hostname = exec('echo $(hostname)');
|
||||||
passthru('cp -fv ./'.$hostname.'/application.ini '.APPLICATION_PATH.'/configs/application.ini');
|
passthru('cp -fv '. $configDir.'/'.$hostname.'/application.ini '.APPLICATION_PATH.'/configs/application.ini');
|
||||||
|
|
||||||
/** Zend_Application */
|
/** Zend_Application */
|
||||||
require_once 'Zend/Application.php';
|
require_once 'Zend/Application.php';
|
||||||
|
Loading…
Reference in New Issue
Block a user