X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=frontaccounting.php;h=7e2201882a74b9f954ca64cfa97c8f69c5df83c4;hb=e91772a2716825a6aeb358d1defba47d5f3892c1;hp=df1ff02cfdcdb15bd5ada726c72b18b3aa2534fd;hpb=914700ef9f18fdd00f592ea72e9ec286548a8bc4;p=fa-stable.git diff --git a/frontaccounting.php b/frontaccounting.php index df1ff02c..7e220188 100644 --- a/frontaccounting.php +++ b/frontaccounting.php @@ -9,6 +9,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License here . ***********************************************************************/ +if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_to_root'])) + die("Restricted access"); include_once($path_to_root . '/applications/application.php'); include_once($path_to_root . '/applications/customers.php'); include_once($path_to_root . '/applications/suppliers.php');