This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
espocrm-base/install/core/actions/fixAjaxPermission.php
T
Taras Machyshyn 34c6aed886 install changes
2014-03-07 13:36:13 +02:00

17 lines
322 B
PHP

<?php
ob_start();
$result = array('success' => false, 'errors' => array());
if (!empty($_REQUEST['url'])) {
if ($installer->fixAjaxPermission($_REQUEST['url'])) {
$result['success'] = true;
}
else {
$result['success'] = false;
$result['errorMsg'] = $_REQUEST['url'];
}
}
ob_clean();
echo json_encode($result);