File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 3434define ('APP_CLASS ' , __DIR__ . '/scripts/classes/ ' );
3535define ('APP_TEMPLATES ' , __DIR__ . '/templates/ ' );
3636define ('APP_COMPONENTS ' , APP_TEMPLATES . 'components/ ' );
37+ // Routes
38+ define ('APP_ROUTES ' , [
39+ 'err ' => $ APP_ERROR_ROUTES ,
40+ 'get ' => $ APP_GET_ROUTES ,
41+ 'post ' => $ APP_POST_ROUTES ,
42+ ]);
43+ define ('API_ROUTES ' , [
44+ 'err ' => $ API_ERROR_ROUTES ,
45+ 'get ' => $ API_GET_ROUTES ,
46+ 'post ' => $ API_POST_ROUTES ,
47+ ]);
3748
3849
3950// Parse Request
Original file line number Diff line number Diff line change 1919 '/fetch/meta ' => ['fetchmeta.php ' , 'fetch.meta ' ]
2020];
2121
22-
23- define ('API_ROUTES ' , [
24- 'err ' => $ API_ERROR_ROUTES ,
25- 'get ' => $ API_GET_ROUTES ,
26- 'post ' => $ API_POST_ROUTES ,
27- ]);
Original file line number Diff line number Diff line change 2121];
2222
2323
24- define ('APP_ROUTES ' , [
25- 'err ' => $ APP_ERROR_ROUTES ,
26- 'get ' => $ APP_GET_ROUTES ,
27- 'post ' => $ APP_POST_ROUTES ,
28- ]);
You can’t perform that action at this time.
0 commit comments