diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-10-27 11:32:05 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-10-27 11:32:05 +0000 |
commit | bb7bf237df5c0757c2e3de676b2929532a6649fe (patch) | |
tree | 3ee0021d65c2630e74a6e76f09843a2083c3558d /modules/system/system.module | |
parent | 987e462b465775bbd34e321b8f4cd7cddfb44164 (diff) | |
download | brdo-bb7bf237df5c0757c2e3de676b2929532a6649fe.tar.gz brdo-bb7bf237df5c0757c2e3de676b2929532a6649fe.tar.bz2 |
#175944 by kkaefer and Pasqualle: fix clean URL check to use a dedicated URL with proper JSON output so certain server setup problems are cured
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index 55d9bf5c4..13c9cfb6f 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -401,6 +401,13 @@ function system_menu() { 'page arguments' => array('system_clean_url_settings'), 'file' => 'system.admin.inc', ); + $items['admin/settings/clean-urls/check'] = array( + 'title' => 'Clean URL check', + 'page callback' => 'drupal_json', + 'page arguments' => array(array('status' => TRUE)), + 'access callback' => TRUE, + 'type' => MENU_CALLBACK, + ); // Reports: $items['admin/reports'] = array( |