You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/dev/code/init_system.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ weight: 10
7
7
8
8
The initSystem refers to all of those files that are automatically included/initialised before any `command` scripts can be run.
9
9
10
-
Zen Cart v1.x.x and v2.x.x both use a (non Object Oriented) page controller pattern to decide the scripts to run, based on `HTTP_GET` parameters. The most important of these is the `main_page` parameter. Depending on that parameter, a command script is then run. Each commmand script resides in a directory in `/includes/modules/pages`.
10
+
Zen Cart v1.x.x and v2.x.x both use a (non Object Oriented) page controller pattern to decide the scripts to run, based on HTTP URL parameters. The most important of these is the `main_page` parameter. Depending on that parameter, a command script is then run. Each commmand script resides in a directory in `/includes/modules/pages`.
11
11
12
12
For example if `main_page=login` the command script would be taken from the `/includes/modules/pages/login/` directory.
0 commit comments