Switch to Core\Session

- Remove reference to include/session
- Use new Session::init()
- Prevent variable re-assignation if they're just empty
- Deprecate killme() function
- Correct DOMXPath class spelling
This commit is contained in:
Hypolite Petovan 2018-02-03 00:46:05 -05:00
parent 55c63949c4
commit d5753b21ae
2 changed files with 9 additions and 11 deletions

View file

@ -873,13 +873,10 @@ function get_guid($size = 16, $prefix = "")
/**
* @brief Used to end the current process, after saving session state.
* @deprecated
*/
function killme()
{
if (!get_app()->is_backend()) {
session_write_close();
}
exit();
}