File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
user_guide_src/source/general Expand file tree Collapse file tree 3 files changed +9
-6
lines changed 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
42
42
You will need to modify two additional files in your project root, so that
43
43
they can find the **Paths ** configuration file:
44
44
45
- - **/spark ** runs command line apps; the path is specified on or about line 49:
45
+ - **/spark ** runs command line apps.
46
46
47
47
.. literalinclude :: managing_apps/002.php
48
48
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.
51
50
52
51
.. literalinclude :: managing_apps/003.php
53
52
Original file line number Diff line number Diff line change 1
1
<?php
2
2
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 ' ;
4
6
// ^^^ Change this line if you move your application folder
Original file line number Diff line number Diff line change 1
1
<?php
2
2
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