equal
deleted
inserted
replaced
433 function page_Special_Login_preloader() // adding _preloader to the end of the function name calls the function before $session and $paths setup routines are called |
433 function page_Special_Login_preloader() // adding _preloader to the end of the function name calls the function before $session and $paths setup routines are called |
434 { |
434 { |
435 global $db, $session, $paths, $template, $plugins; // Common objects |
435 global $db, $session, $paths, $template, $plugins; // Common objects |
436 global $__login_status; |
436 global $__login_status; |
437 global $lang; |
437 global $lang; |
|
438 require_once( ENANO_ROOT . '/includes/math.php' ); |
|
439 |
438 if ( $paths->getParam(0) === 'action.json' ) |
440 if ( $paths->getParam(0) === 'action.json' ) |
439 { |
441 { |
440 if ( !isset($_POST['r']) ) |
442 if ( !isset($_POST['r']) ) |
441 die('No request.'); |
443 die('No request.'); |
442 |
444 |