diff options
| author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-17 11:49:58 +0000 | 
|---|---|---|
| committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-17 11:49:58 +0000 | 
| commit | eeae40ce51d4ea07ee91ac83326200e2541484f2 (patch) | |
| tree | 3a5959a4706c1b13d6853438160201fcb2b6e8ca /engine/lib/database.php | |
| parent | b5e15b0382b66ba15fd212e392a46d396c015662 (diff) | |
| download | elgg-eeae40ce51d4ea07ee91ac83326200e2541484f2.tar.gz elgg-eeae40ce51d4ea07ee91ac83326200e2541484f2.tar.bz2  | |
Disabling the gatekeeper for now. Reopened #3
git-svn-id: https://code.elgg.org/elgg/trunk@947 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/database.php')
| -rw-r--r-- | engine/lib/database.php | 16 | 
1 files changed, 8 insertions, 8 deletions
diff --git a/engine/lib/database.php b/engine/lib/database.php index d3113e202..df1775e69 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');
 @@ -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');
  | 
