Changeset 535

Show
Ignore:
Timestamp:
09/09/06 09:40:06 (2 years ago)
Author:
ben
Message:

Fixed a bug in login.

Files:

Legend:

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

    r514 r535  
    99if (empty($redirect_url)) { 
    1010    $redirect_url = $CFG->wwwroot . "index.php"; 
     11} 
     12if (substr_count($redirect_url,$CFG->wwwroot) == 0) { 
     13    $redirect_url = substr($CFG->wwwroot,a,strlen($CFG->wwwroot) - 1) . $redirect_url; 
    1114} 
    1215