Subversion Repositories cheapmusic

Rev

Rev 134 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 134 Rev 138
Line 19... Line 19...
19
if (!empty($_COOKIE['PHPSESSID'])) {
19
if (!empty($_COOKIE['PHPSESSID'])) {
20
    session_id($_COOKIE['PHPSESSID']);
20
    session_id($_COOKIE['PHPSESSID']);
21
}
21
}
22
session_start();
22
session_start();
23
 
23
 
24
initSessionVariables();
24
initSessionVariables($systemConf);
25
 
25
 
26
if ($_SERVER["REQUEST_METHOD"] == "POST") {
26
if ($_SERVER["REQUEST_METHOD"] == "POST") {
27
    if (!getPGV("nonce") || NonceUtil::check($systemConf["nonce_secret"], getPGV("nonce")) === false) {
27
    if (!getPGV("nonce") || NonceUtil::check($systemConf["nonce_secret"], getPGV("nonce")) === false) {
28
        exit;
28
        exit;
29
    }
29
    }