Subversion Repositories cheapmusic

Rev

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

Rev 74 Rev 122
Line 4... Line 4...
4
include_once 'includes/password.php';
4
include_once 'includes/password.php';
-
 
5
 
-
 
6
error_log(print_r($_POST, 1));
5
 
7
 
6
// Include Session Handling
8
// Include Session Handling
7
require_once ('includes/session.php');
9
require_once ('includes/session.php');
-
 
10
global $systemConf;
-
 
11
if (empty($_POST["nonce"]) || NonceUtil::check($systemConf["nonce_secret"], $_POST["nonce"]) === false) {
-
 
12
    // Redirect to the home page
-
 
13
    MySessionHandler::commit(session_id());
-
 
14
    header("Location:../index.php");
-
 
15
    exit;
-
 
16
}
8
 
17
 
9
// Include config file
18
// Include config file
10
require_once 'includes/config.php';
19
require_once 'includes/config.php';
11
 
20
 
12
// Load and initialize user class
21
// Load and initialize user class