projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e79e145
)
Fatal message removed in installation when the script is installed
author
Roland Häder
<roland@mxchange.org>
Sun, 18 May 2008 16:30:48 +0000
(16:30 +0000)
committer
Roland Häder
<roland@mxchange.org>
Sun, 18 May 2008 16:30:48 +0000
(16:30 +0000)
inc/header.php
patch
|
blob
|
history
diff --git
a/inc/header.php
b/inc/header.php
index 20500100af20751f4e6d4f6cacb22be1a6c2b721..ce675dc08c85d344350414433699a87de0d858eb 100644
(file)
--- a/
inc/header.php
+++ b/
inc/header.php
@@
-80,7
+80,9
@@
if (($header != "1") && ($header != "2")) {
} else {
// Configuration not found!
define('__PAGE_TITLE', NO_CONFIG_FOUND_TITLE);
} else {
// Configuration not found!
define('__PAGE_TITLE', NO_CONFIG_FOUND_TITLE);
- ADD_FATAL(NO_CONFIG_FOUND);
+
+ // Do not add the fatal message in installation mode
+ if (basename($_SERVER['SELF']) != "install.php") ADD_FATAL(NO_CONFIG_FOUND);
}
}
}
}