]> git.pld-linux.org Git - packages/drupal-mod-mass_url.git/blob - mass_url-password.patch
- tabs in preamble
[packages/drupal-mod-mass_url.git] / mass_url-password.patch
1 this patch fixes problem that /user/password generates 404 not found page
2 http://drupal.org/node/23350
3
4 --- ./mass_url.module   2004-11-24 17:00:33.000000000 +0200
5 +++ /tmp/mass_url.module        2005-12-06 17:30:16.000000000 +0200
6 @@ -59,7 +61,7 @@
7      return;
8    }
9    else if ($url_username == ('password')) {
10 -    user_page();
11 +    user_pass();
12      return;
13    }
14    else if ($url_username == ('help')) {
15
16 similiar problem and a fix
17 http://drupal.org/node/18933
18 --- ./mass_url.module   2005-12-06 17:32:15.000000000 +0200
19 +++ /tmp/mass_url.module        2005-12-06 18:00:44.000000000 +0200
20 @@ -49,6 +49,11 @@
21  
22    $page_type = urldecode(arg(0));
23    $url_username = urldecode(arg(1));
24 +
25 +  if (($page_type == 'blog') && ($url_username == 'feed')) {
26 +    blog_feed_last();
27 +    return;
28 +  }
29     
30    if ($url_username == ('login')) {
31      user_page();
This page took 0.07453 seconds and 3 git commands to generate.