Send HTTP status code 500 when site has not been configured yet.
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@646 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
d7e5050eff
commit
ca5ca1d1c9
2 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
ChangeLog for SemantiScuttle
|
ChangeLog for SemantiScuttle
|
||||||
============================
|
============================
|
||||||
|
|
||||||
0.96.0 - 2010-FIXME
|
0.96.0 - 2010-02-08
|
||||||
-------------------
|
-------------------
|
||||||
- Fix bug #2843523: ArtViper thumbnail license change
|
- Fix bug #2843523: ArtViper thumbnail license change
|
||||||
reflected by using the javascript backlink
|
reflected by using the javascript backlink
|
||||||
|
@ -30,6 +30,7 @@ ChangeLog for SemantiScuttle
|
||||||
- Add special header file for shell scripts (header-standalone.php)
|
- Add special header file for shell scripts (header-standalone.php)
|
||||||
- Fix some problems when using mysqli database driver.
|
- Fix some problems when using mysqli database driver.
|
||||||
- Make it easy to have www/ in any location one wants it to have
|
- Make it easy to have www/ in any location one wants it to have
|
||||||
|
- Send HTTP status code 500 when site has not been configured yet.
|
||||||
|
|
||||||
|
|
||||||
0.95.2 - 2010-01-16
|
0.95.2 - 2010-01-16
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* @link http://sourceforge.net/projects/semanticscuttle
|
* @link http://sourceforge.net/projects/semanticscuttle
|
||||||
*/
|
*/
|
||||||
if (!file_exists(dirname(__FILE__) .'/../../data/config.php')) {
|
if (!file_exists(dirname(__FILE__) .'/../../data/config.php')) {
|
||||||
|
header('HTTP/1.0 500 Internal Server Error');
|
||||||
die('Please copy "config.php.dist" to "config.php" in data/ folder.');
|
die('Please copy "config.php.dist" to "config.php" in data/ folder.');
|
||||||
}
|
}
|
||||||
set_include_path(
|
set_include_path(
|
||||||
|
|
Loading…
Reference in a new issue