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: README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -17,12 +17,12 @@ Basic php skeleton of an MVC (model-view-controller) web application that you ca
17
17
It's a normal MVC application so it consists of models/views/controllers
18
18
1. First it runs the initiation script [init.php](app/init.php)
19
19
- The initiation script loads main scripts and confinguration files.
20
-
2. Then a new app instance is created and the url is parsed in the [App.php](app/core/App.php) class
21
-
3.The requested language is set and the requested controller is loaded ex: [home.php](app/controllers/home.php) controller.
20
+
2. Then a new app instance is created and the url is parsed in the [App.php](app/core/App.php#L51) class
21
+
3.In [App.php](app/core/App.php#L13) class the requested language is set and the requested controller is loaded ex: [home.php](app/controllers/home.php) controller.
22
22
4. A controller class instance is created and the requested method called
23
-
5. The method calls the model method and in the model loading method we check for login [Controller model](app/core/Controller.php)
23
+
5. The method calls the model method and in the model loading method we check for login [Controller model](app/core/Controller.php#L10)
24
24
- If the user is loggedin it'll get the requested model, else it'll redirect to login
25
-
6. The controller method then calls the view method and in the view loading method we load the language files and the page layout. [Controller view](app/core/Controller.php)
25
+
6. The controller method then calls the view method and in the view loading method we load the language files and the page layout. [Controller view](app/core/Controller.php#L37)
0 commit comments