plugins/SpecialUserFuncs.php
changeset 604 6a90893622f0
parent 593 4f9bec0d65c1
child 614 78d1e71dc720
equal deleted inserted replaced
603:33b274c8d357 604:6a90893622f0
   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