2017-04-13 22:46:51 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
if (!defined('DC_CONTEXT_ADMIN')) { return; }
|
|
|
|
|
|
|
|
$_menu['Blog']->addItem(__('Rest API'),
|
2017-05-05 21:46:14 +02:00
|
|
|
'plugin.php?p=rest',
|
2017-05-11 23:10:01 +02:00
|
|
|
urldecode(dcPage::getPF('rest/rest_api.png')),
|
2017-05-05 21:46:14 +02:00
|
|
|
preg_match('/plugin.php\?p=rest(&.*)?$/',$_SERVER['REQUEST_URI']),
|
|
|
|
$core->auth->check('contentadmin',$core->blog->id));
|