Changeset 608 for branches/1.1dev/config


Ignore:
Timestamp:
Jul 13, 2017 1:50:49 PM (7 years ago)
Author:
anonymous
Message:

Fix undefined index errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1dev/config/boot.inc.php

    r571 r608  
    205205    session_start();
    206206
     207    // Access session data using: $_SESSION['...'].
     208    // Initialize here _after_ session has started.
     209    if (!isset($_SESSION['_boomerang'])) {
     210        $_SESSION['_boomerang'] = array(
     211            'url' => array(),
     212        );
     213    }
     214    if (!isset($_SESSION['_messages'])) {
     215        $_SESSION['_messages'] = array();
     216    }
     217
    207218//     if (isset($_COOKIE[session_name()])) {
    208219//         logMsg(sprintf('Found session in cookie: %s=%s', session_name(), $_COOKIE[session_name()]), LOG_DEBUG, __FILE__, __LINE__);
Note: See TracChangeset for help on using the changeset viewer.