Adding a submodule to an existing project
Several of us work on one Fuel project (in this case an upgrade from 0.9.3 to 1.3, not sure if that's relevant) and so I did not install a submodule myself but a coworker did. Now I get this error:
A PHP Error was encountered
Severity: Notice
Message: Use of undefined constant USER_GUIDE_PATH - assumed 'USER_GUIDE_PATH'
Filename: config/user_guide.php
Line Number: 25
I assume this means I have to also install the User Guide sub module myself. What is the best way to do so? Is it the same process as if I were installing a new one on my own?
Comments
git submodule init git submodule update
I was going to delete the thread but just figured it was worth leaving just in case someone else needed it and could find in search.
This article is good for further reference: https://chrisjean.com/git-submodules-adding-using-removing-and-updating/