Subversion Repositories cheapmusic

Rev

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

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