summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormoshe weitzman2007-10-23 18:05:38 (GMT)
committer moshe weitzman2007-10-23 18:05:38 (GMT)
commit01c66491a4c7de8333cc0caa34203d7c23a1fdc4 (patch)
tree328331813c09244806477c5ac2bc348d7d0acb3d
parentd4cb5c4d141b16d3ae1f73c66cffd9202087c719 (diff)
#181878 don't interfere with private files.
-rw-r--r--devel.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel.module b/devel.module
index f387c06..c6f99b1 100644
--- a/devel.module
+++ b/devel.module
@@ -214,7 +214,7 @@ function devel_views_object($type, $view_name) {
* behavior when stepping though in a debugger.
*/
function devel_init() {
- if (strstr($_SERVER['PHP_SELF'], 'update.php') || strstr($_GET['q'], 'autocomplete') || $_GET['q'] == 'upload/js') {
+ if (strstr($_SERVER['PHP_SELF'], 'update.php') || strstr($_GET['q'], 'autocomplete') || $_GET['q'] == 'upload/js' || substr($_GET['q'], 0, strlen('system/files')) == 'system/files') {
// update.php relies on standard error handler. avoid breaking a few other pages.
}
else {