forked from symphonists/rest_api
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhandler.php
More file actions
Latest commit
12 lines (10 loc) · 370 Bytes
/
Copy pathhandler.php
File metadata and controls
12 lines (10 loc) · 370 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
<?php
// set up Symphony
define('DOCROOT', rtrim(dirname(__FILE__), '/') . '/../..');
require_once(DOCROOT . '/symphony/lib/boot/bundle.php');
require_once(CORE . '/class.administration.php');
require_once(CORE . '/class.frontend.php');
// include the extension core
require_once(EXTENSIONS . '/rest_api/lib/class.rest_api.php');
// fire up the API!
REST_API::init();