aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/Routes.php
blob: 4cfe5ded9bb089c98f935cc0a697f72bf10377a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php

/* public routes */

$router->get('', '../controllers/index.controller.php');
$router->get('contact', '../controllers/contact.php');
$router->get('feedback', '../controllers/feedback.php');
$router->get('comments', '../controllers/comments.php');
$router->get('construction', '../controllers/construction.php');
$router->get('hashget', '../controllers/comments.php');
$router->get('hashover', '../controllers/comments.php');

$router->head('', '../controllers/index.controller.php');
$router->head('contact', '../controllers/contact.php');
$router->head('feedback', '../controllers/feedback.php');
$router->head('comments', '../controllers/comments.php');
$router->head('construction', '../controllers/construction.php');
$router->head('hashget', '../controllers/comments.php');
$router->head('hashover', '../controllers/comments.php');

$router->post('?sent', '../controllers/mail.controller.php');
$router->post('hashpost', '../controllers/comments.php');

/* backend routes */

$router->get('latestajax', '../bootstrap/comments/backend/latest-ajax.php');
$router->get('countlinkajax', '../bootstrap/comments/backend/count-link-ajax.php');

$router->post('commentsajax', '../bootstrap/comments/backend/comments-ajax.php');
$router->post('formactions', '../bootstrap/comments/backend/form-actions.php');
$router->post('loadcomments', '../bootstrap/comments/backend/load-comments.php');
$router->post('likecomment', '../bootstrap/comments/backend/like.php');