forked from netgen/ezpublish-legacy
-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathindex_rest.php
More file actions
20 lines (16 loc) · 537 Bytes
/
index_rest.php
File metadata and controls
20 lines (16 loc) · 537 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
/**
* File containing the rest bootstrap
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
* @version //autogentag//
* @package kernel
*/
require __DIR__ . '/autoload.php';
ignore_user_abort( true );
error_reporting ( E_ALL | E_STRICT & E_DEPRECATED);
require 'autoload.php';
$kernel = new ezpKernel( new ezpKernelRest() );
// mvc_tools will directly output the headers and content
$kernel->run();