File tree Expand file tree Collapse file tree
user_guide_src/source/general Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,12 +42,11 @@ your main **app/Config/Paths.php** and set a *full server path* in the
4242You will need to modify two additional files in your project root, so that
4343they can find the **Paths ** configuration file:
4444
45- - **/spark ** runs command line apps; the path is specified on or about line 49:
45+ - **/spark ** runs command line apps.
4646
4747 .. literalinclude :: managing_apps/002.php
4848
49- - **/public/index.php ** is the front controller for your webapp; the config
50- path is specified on or about line 20:
49+ - **/public/index.php ** is the front controller for your webapp.
5150
5251 .. literalinclude :: managing_apps/003.php
5352
Original file line number Diff line number Diff line change 11<?php
22
3- $ pathsConfig = 'app/Config/Paths.php ' ;
3+ // Load our paths config file
4+ // This is the line that might need to be changed, depending on your folder structure.
5+ require FCPATH . '../app/Config/Paths.php ' ;
46// ^^^ Change this line if you move your application folder
Original file line number Diff line number Diff line change 11<?php
22
3- $ pathsConfig = FCPATH . '../app/Config/Paths.php ' ;
4- // ^^^ Change this if you move your application folder
3+ // Load our paths config file
4+ // This is the line that might need to be changed, depending on your folder structure.
5+ require FCPATH . '../app/Config/Paths.php ' ;
6+ // ^^^ Change this line if you move your application folder
You can’t perform that action at this time.
0 commit comments