Skip to content

Commit ae656e6

Browse files
committed
update error message
1 parent 4b9bb43 commit ae656e6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<h1>Error</h1>
2-
<p>If you see this page your mod_rewrite is not setup correctly. Visit the <a href="https://github.com/ssl/ezXSS">wiki</a> for more information.</p>
2+
<p>Your mod_rewrite is not setup correctly. Visit the <a href="https://github.com/ssl/ezXSS/wiki">wiki</a> for more information.</p>

init.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
|
1111
*/
1212

13-
define('version', '3.6');
13+
define('version', '3.7');
1414
define('debug', false);
1515

1616
if (debug) {
@@ -46,7 +46,7 @@
4646
require_once __DIR__ . '/src/Autoload.php';
4747

4848
if(!file_exists('.env')) {
49-
error('You did not setup your config file. Rename .env.example to .env and fill in your database information.', true);
49+
error('You did not setup your config file yet.', true);
5050
}
5151

5252
$config = parse_ini_file('.env');
@@ -105,7 +105,7 @@
105105
*/
106106

107107
function error($message, $wiki = false) {
108-
$message .= ($wiki === true ? ' Visit the <a href="https://github.com/ssl/ezXSS">wiki</a> for more information.' : '');
108+
$message .= ($wiki === true ? ' Visit the <a href="https://github.com/ssl/ezXSS/wiki">wiki</a> for more information.' : '');
109109
echo "<h1>Error</h1><p>$message</p>";
110110
exit();
111111
}

0 commit comments

Comments
 (0)