-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
22 lines (17 loc) · 688 Bytes
/
index.php
File metadata and controls
22 lines (17 loc) · 688 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
require __DIR__.'/core/controller.php';
require __DIR__.'/core/model.php';
require __DIR__.'/core/route.php';
require __DIR__.'/vendor/autoload.php';
require __DIR__.'/app/config.php';
Route::run('/','home@index');
Route::run('/duyurular/{url}', 'duyurular@index' );
Route::run('/duyuru/{url}' , 'duyurular@detay' );
Route::run('/etkinlikler' , 'etkinlikler@index' );
Route::run('/etkinlik/{url}' , 'etkinlikler@detay' );
Route::run('/haberler' , 'haberler@index' );
Route::run('/haber/{url}' , 'haberler@detay');
Route::run('/yemekler' , 'yemekler@index');
Route::run('/yemekler/bugun' , 'yemekler@bugun' );
Route::run('/yemekler/yarin' , 'yemekler@yarin' );
?>