Skip to content

Commit fe60b89

Browse files
authored
Merge pull request #1541 from tuxudo/patch-13
Remove hyperlinks to kissmvc.com
2 parents 1fd7ba8 + 348fd40 commit fe60b89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/controllers/Module.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function load()
8585
public function requestNotFound($msg = '')
8686
{
8787
header("HTTP/1.0 404 Not Found");
88-
die('<html><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>'.$msg.'<p>The requested URL was not found on this server.</p><p>Please go <a href="javascript: history.back( 1 )">back</a> and try again.</p><hr /><p>Powered By: <a href="http://kissmvc.com">KISSMVC</a></p></body></html>');
88+
die('<html><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>'.$msg.'<p>The requested URL was not found on this server.</p><p>Please go <a href="javascript: history.back( 1 )">back</a> and try again.</p><hr /></body></html>');
8989
}
9090

9191
public function requestForbidden($msg = '')

system/kissmvc_core.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ protected function detectUri()
225225
public function requestNotFound($msg = '')
226226
{
227227
header("HTTP/1.0 404 Not Found");
228-
die('<html><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>'.$msg.'<p>The requested URL was not found on this server.</p><p>Please go <a href="javascript: history.back( 1 )">back</a> and try again.</p><hr /><p>Powered By: <a href="http://kissmvc.com">KISSMVC</a></p></body></html>');
228+
die('<html><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>'.$msg.'<p>The requested URL was not found on this server.</p><p>Please go <a href="javascript: history.back( 1 )">back</a> and try again.</p><hr /></body></html>');
229229
}
230230
}
231231

0 commit comments

Comments
 (0)