Skip to content

Commit ffe715d

Browse files
authored
Update index.php
1 parent b947d70 commit ffe715d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ function cleanArray($didYouMeans){
290290
return;
291291
}
292292
}else{
293-
\wResponse::status(404);
293+
header( $_SERVER['SERVER_PROTOCOL']." 404 Not Found", true );
294294
$content.='Not found - 404 ['.__LINE__.']<br />';
295295
//$variants = array_keys($classMaps[$source]);
296296
//$content.=print_r($variants,true);
@@ -320,7 +320,7 @@ function cleanArray($didYouMeans){
320320
//$source = str_replace('\\', '\\\\', $source);
321321
//die(gettype($subNamespacePart).gettype($classes));
322322

323-
\wResponse::status(404);
323+
header( $_SERVER['SERVER_PROTOCOL']." 404 Not Found", true );
324324

325325
$didYouMeans[]=Helpers::getSuggestion($classes, $source);
326326

0 commit comments

Comments
 (0)