ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


change starting page


  • 2007-05-24 15:15:41

    change starting page

    Hello, my problem is , i want to change the stating page from login.php (default) to browse.php . In which file should i make the changes for that...

    my home page is : http://course.sajithmr.com

    Thanks and Regards
    Sajith.M.R

  • 2007-07-19 13:34:05

    Re: change starting page

    You can go to your vitals.inc.php file under your include folder. Around line number 100 you will see a 2 lines stating :

    "if (!isset($_SESSION['course_id']) && !isset($_SESSION['valid_user']) && ($_user_location != 'public')) {
    if (isset($in_get) && $in_get && (($pos = strpos($_SERVER['PHP_SELF'], 'get.php/')) !== FALSE)) {"

    there will be a line to redirect you to 'login.php', you need to change 'login' to 'browse'

    Jedidiah