Skip to content

Commit 9e9b9cd

Browse files
committed
docs: add about COMPOSER_PATH change
1 parent 290b4d0 commit 9e9b9cd

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

user_guide_src/source/general/managing_apps.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,13 @@ This would have two apps, **foo** and **bar**, both having standard application
6969
and a **public** folder, and sharing a common **codeigniter** framework.
7070

7171
The **index.php** inside each application would refer to its own configuration,
72-
``../app/Config/Paths.php``, and the ``$systemDirectory`` variable inside each
72+
``../app/Config/Paths.php``, and the ``$systemDirectory`` variable in **app/Config/Paths.php** inside each
7373
of those would be set to refer to the shared common **system** folder.
7474

7575
If either of the applications had a command-line component, then you would also
7676
modify **spark** inside each application's project folder, as directed above.
77+
78+
When you use Composer autoloader, fix the ``COMPOSER_PATH`` constant in **app/Config/Constants.php** inside each
79+
of those::
80+
81+
defined('COMPOSER_PATH') || define('COMPOSER_PATH', ROOTPATH . '../vendor/autoload.php');

0 commit comments

Comments
 (0)