plugins/SpecialUserFuncs.php
changeset 1112 679916c80599
parent 1109 c424a15a1656
child 1117 4d8ffe107a0d
equal deleted inserted replaced
1111:8fae8fb3cbb1 1112:679916c80599
   423   global $db, $session, $paths, $template, $plugins; // Common objects
   423   global $db, $session, $paths, $template, $plugins; // Common objects
   424   global $__login_status;
   424   global $__login_status;
   425   global $lang;
   425   global $lang;
   426   require_once( ENANO_ROOT . '/includes/math.php' );
   426   require_once( ENANO_ROOT . '/includes/math.php' );
   427   
   427   
   428   $paths->fullpage = $GLOBALS['title'];
   428   $paths->fullpage = $GLOBALS['urlname'];
   429   if ( $paths->getParam(0) === 'action.json' )
   429   if ( $paths->getParam(0) === 'action.json' )
   430   {
   430   {
   431     if ( !isset($_POST['r']) )
   431     if ( !isset($_POST['r']) )
   432       die('No request.');
   432       die('No request.');
   433     
   433