Skip to content

Commit 5ee193f

Browse files
author
Ahmad Hegazy
committed
fixing readme
1 parent dbb17e5 commit 5ee193f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ Basic php skeleton of an MVC (model-view-controller) web application that you ca
1717
It's a normal MVC application so it consists of models/views/controllers
1818
1. First it runs the initiation script [init.php](app/init.php)
1919
- 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.
2222
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)
2424
- 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)
2626

2727
## Directory structure
2828
1. [app](app): Application backend

0 commit comments

Comments
 (0)