diff options
Diffstat (limited to 'engine/lib/database.php')
-rw-r--r-- | engine/lib/database.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/engine/lib/database.php b/engine/lib/database.php index d3113e202..b06de96e7 100644 --- a/engine/lib/database.php +++ b/engine/lib/database.php @@ -129,8 +129,8 @@ global $CONFIG, $dbcalls; - if (!callpath_gatekeeper($CONFIG->path . "engine/", true, true)) - throw new SecurityException(sprintf(elgg_echo('SecurityException:FunctionDenied'), 'get_data()'));
+ //if (!callpath_gatekeeper($CONFIG->path . "engine/", true, true)) + // throw new SecurityException(sprintf(elgg_echo('SecurityException:FunctionDenied'), 'get_data()'));
$dblink = get_db_link('read');
@@ -174,8 +174,8 @@ global $CONFIG, $dbcalls; - if (!callpath_gatekeeper($CONFIG->path . "engine/", true, true)) - throw new SecurityException(sprintf(elgg_echo('SecurityException:FunctionDenied'), 'get_data_row()'));
+ // if (!callpath_gatekeeper($CONFIG->path . "engine/", true, true)) + // throw new SecurityException(sprintf(elgg_echo('SecurityException:FunctionDenied'), 'get_data_row()'));
$dblink = get_db_link('read');
@@ -213,8 +213,8 @@ global $CONFIG, $dbcalls; - if (!callpath_gatekeeper($CONFIG->path . "engine/", true, true)) - throw new SecurityException(sprintf(elgg_echo('SecurityException:FunctionDenied'), 'insert_data()'));
+ //if (!callpath_gatekeeper($CONFIG->path . "engine/", true, true)) + // throw new SecurityException(sprintf(elgg_echo('SecurityException:FunctionDenied'), 'insert_data()'));
$dblink = get_db_link('write');
@@ -245,8 +245,8 @@ global $dbcalls, $CONFIG; - if (!callpath_gatekeeper($CONFIG->path . "engine/", true, true)) - throw new SecurityException(sprintf(elgg_echo('SecurityException:FunctionDenied'), 'update_data()'));
+ //if (!callpath_gatekeeper($CONFIG->path . "engine/", true, true)) + // throw new SecurityException(sprintf(elgg_echo('SecurityException:FunctionDenied'), 'update_data()'));
$dblink = get_db_link('write');
@@ -278,8 +278,8 @@ global $dbcalls, $CONFIG; - if (!callpath_gatekeeper($CONFIG->path . "engine/", true, true)) - throw new SecurityException(sprintf(elgg_echo('SecurityException:FunctionDenied'), 'delete_data()'));
+ //if (!callpath_gatekeeper($CONFIG->path . "engine/", true, true)) + // throw new SecurityException(sprintf(elgg_echo('SecurityException:FunctionDenied'), 'delete_data()'));
$dblink = get_db_link('write');
|