Skip to content

Commit 9e8fbf5

Browse files
committed
add manager check
1 parent ebef38d commit 9e8fbf5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

manager/actions/category_mgr/inc/request_trigger.inc.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
/**
33
* Ajax Requests
44
*/
5+
if(IN_MANAGER_MODE != "true") {
6+
die("<b>INCLUDE_ORDERING_ERROR</b><br /><br />Please use the MODX Content Manager instead of accessing this file directly.");
7+
}
8+
59
if( isset( $_REQUEST[$cm->get('request_key')]['ajax'] ) )
610
{
711
$_data = $_REQUEST[$cm->get('request_key')];

0 commit comments

Comments
 (0)