mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Code optimization and cleaning
This commit is contained in:
@@ -346,7 +346,7 @@ class e_jshelper
|
||||
* @param string $errextended
|
||||
* @access public
|
||||
*/
|
||||
public function sendAjaxError($errcode, $errmessage, $errextended = '')
|
||||
public static function sendAjaxError($errcode, $errmessage, $errextended = '')
|
||||
{
|
||||
header('Content-type: text/html; charset='.CHARSET);
|
||||
header("HTTP/1.0 {$errcode} {$errmessage}");
|
||||
|
Reference in New Issue
Block a user