Merge branch 'master' of https://github.com/easysoft/zentaopms
This commit is contained in:
@@ -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 . ' {};');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -100,7 +100,6 @@ $(function()
|
||||
shown: function(){$('.modal-iframe').addClass('with-titlebar').data('cancel-reload', true)},
|
||||
hidden: refresh
|
||||
});
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user