Last active
October 11, 2015 11:28
-
-
Save ceeram/3852324 to your computer and use it in GitHub Desktop.
cakephp submodule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd to app | |
git submodule add git://github.com/ceeram/cakephp.git Core | |
<optional> | |
cd Core | |
git checkout 2.4 | |
cd .. | |
</optional> | |
//update webroot/index.php: | |
define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . APP_DIR . DS . 'Core' . DS . 'lib'); | |
//update app/Console/cake.php | |
//change this line just before the ini_set | |
$root = dirname(dirname(__FILE__)) . $ds . 'Core'; | |
git add . | |
git commit -m "add core as submodule" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment