Changeset 481 for devel/_invite

Show
Ignore:
Timestamp:
08/10/06 12:14:34 (2 years ago)
Author:
ben
Message:

Whether users can invite new users is now a separate flag to whether public users can register outright.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/_invite/index.php

    r478 r481  
    1414 
    1515    // You must be logged on to view this! 
    16         if (logged_on) { 
     16        if (logged_on && $CFG->publicinvite == true) { 
    1717         
    1818        $title = gettext("Invite a Friend"); 
     
    3333                    ); 
    3434                } else { 
    35                     header("Location: " . url); 
     35                    header("Location: " . $CFG->wwwroot); 
    3636                } 
    3737