Tell cmake to configure zm version and config path in cakephp
This commit is contained in:
parent
e541976b77
commit
403ece33bd
|
@ -10,3 +10,5 @@ configure_file(app/Config/database.php.default "${CMAKE_CURRENT_BINARY_DIR}/app/
|
||||||
|
|
||||||
# Configure core.php
|
# Configure core.php
|
||||||
configure_file(app/Config/core.php.default "${CMAKE_CURRENT_BINARY_DIR}/app/Config/core.php" @ONLY)
|
configure_file(app/Config/core.php.default "${CMAKE_CURRENT_BINARY_DIR}/app/Config/core.php" @ONLY)
|
||||||
|
|
||||||
|
configure_file(app/Config/bootstrap.php "${CMAKE_CURRENT_BINARY_DIR}/app/Config/bootstrap.php" @ONLY)
|
||||||
|
|
|
@ -106,3 +106,6 @@ CakeLog::config('error', array(
|
||||||
'types' => array('warning', 'error', 'critical', 'alert', 'emergency'),
|
'types' => array('warning', 'error', 'critical', 'alert', 'emergency'),
|
||||||
'file' => 'error',
|
'file' => 'error',
|
||||||
));
|
));
|
||||||
|
|
||||||
|
Configure::write('ZM_CONFIG', '@ZM_CONFIG@');
|
||||||
|
Configure::write('ZM_VERSION', '@VERSION@');
|
||||||
|
|
Loading…
Reference in New Issue