Skip to content

Instantly share code, notes, and snippets.

@ceeram
Last active October 11, 2015 11:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ceeram/3852324 to your computer and use it in GitHub Desktop.
Save ceeram/3852324 to your computer and use it in GitHub Desktop.
cakephp submodule
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