From e6c4c7796f5bfb215e4fe36dfebc65f9a40e3408 Mon Sep 17 00:00:00 2001 From: ftimme <ft@falkotimme.com> Date: Wed, 14 Nov 2012 07:00:12 -0500 Subject: [PATCH] - Removed billing module cron jobs from cron_daily.sh and added billing module container cron job script cron_daily_billing.sh which contains all billing module related daily cron jobs. --- interface/web/vm/openvz_ip_edit.php | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/interface/web/vm/openvz_ip_edit.php b/interface/web/vm/openvz_ip_edit.php index 7a79244..8fbd0f2 100644 --- a/interface/web/vm/openvz_ip_edit.php +++ b/interface/web/vm/openvz_ip_edit.php @@ -43,6 +43,7 @@ //* Check permissions for module $app->auth->check_module_permissions('vm'); +if($_SESSION["s"]["user"]["typ"] != 'admin') die('permission denied'); // Loading classes $app->uses('tpl,tform'); -- Gitblit v1.9.1