This commit is contained in:
liugang
2018-07-11 14:35:53 +08:00
2 changed files with 15 additions and 1 deletions
+15
View File
@@ -162,3 +162,18 @@ function formatTime($time, $format = '')
if($format) return date($format, strtotime($time));
return trim($time);
}
/**
* Fix for session error.
*
* @param int $class
* @access protected
* @return void
*/
function __autoload($class)
{
if(!class_exists($class))
{
if($class == 'post_max_size' or $class == 'max_input_vars') eval('class ' . $class . ' {};');
}
}
-1
View File
@@ -100,7 +100,6 @@ $(function()
shown: function(){$('.modal-iframe').addClass('with-titlebar').data('cancel-reload', true)},
hidden: refresh
});
return true;
}
return false;
};