rename config.inc.php to config.php throughout the code
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@428 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
12ff7497fa
commit
1a4a027226
6 changed files with 8 additions and 9 deletions
|
@ -2,9 +2,10 @@
|
||||||
/**
|
/**
|
||||||
* Default configuration file for SemanticScuttle
|
* Default configuration file for SemanticScuttle
|
||||||
*
|
*
|
||||||
* This file is included just before config.inc.php
|
* This file is included just before config.php.
|
||||||
* If there is something you want to change, copy the lines
|
* If there is something you want to change, copy the lines
|
||||||
* in your personal config.inc.php file
|
* in your personal config.php file.
|
||||||
|
* Do not modify _this_ file!
|
||||||
*
|
*
|
||||||
* This program is free software. You can redistribute it and/or modify
|
* This program is free software. You can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -47,7 +47,7 @@ if (isset($subtitle)) {
|
||||||
echo '<h2>'. $subtitle ."</h2>\n";
|
echo '<h2>'. $subtitle ."</h2>\n";
|
||||||
}
|
}
|
||||||
if(DEBUG_MODE) {
|
if(DEBUG_MODE) {
|
||||||
echo '<p class="error">'. T_('Admins, your installation is in "Debug Mode" ($debugMode = true). To go in "Normal Mode" and hide debugging messages, change $debugMode to false into config.inc.php.') ."</p>\n";
|
echo '<p class="error">'. T_('Admins, your installation is in "Debug Mode" ($debugMode = true). To go in "Normal Mode" and hide debugging messages, change $debugMode to false into config.php.') ."</p>\n";
|
||||||
}
|
}
|
||||||
if (isset($error) && $error!='') {
|
if (isset($error) && $error!='') {
|
||||||
echo '<p class="error">'. $error ."</p>\n";
|
echo '<p class="error">'. $error ."</p>\n";
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
* To launch all tests, type the following line into the root directory
|
* To launch all tests, type the following line into the root directory
|
||||||
* of SemanticScuttle (where is the config.inc.php file) :
|
* of SemanticScuttle (where is the config.php file) :
|
||||||
*
|
*
|
||||||
* phpunit --testdox-html tests/dox.html AllTests tests/allTests.php
|
* phpunit --testdox-html tests/dox.html AllTests tests/allTests.php
|
||||||
*
|
*
|
||||||
* !!Check that $debugMode = false in config.inc.php to avoid unstable beahviours!!
|
|
||||||
*
|
|
||||||
* A dox.html file will be created into the tests/ directory providing a summary
|
* A dox.html file will be created into the tests/ directory providing a summary
|
||||||
* of tests according to agile development.
|
* of tests according to agile development.
|
||||||
* */
|
* */
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
require_once '../../src/SemanticScuttle/header.php';
|
require_once '../../src/SemanticScuttle/header.php';
|
||||||
|
|
||||||
if($GLOBALS['enableGoogleCustomSearch'] == false) {
|
if($GLOBALS['enableGoogleCustomSearch'] == false) {
|
||||||
echo "Google Custom Search disabled. You can enable it into the config.inc.php file.";
|
echo "Google Custom Search disabled. You can enable it into the config.php file.";
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
require_once '../../src/SemanticScuttle/header.php';
|
require_once '../../src/SemanticScuttle/header.php';
|
||||||
|
|
||||||
if($GLOBALS['enableGoogleCustomSearch'] == false) {
|
if($GLOBALS['enableGoogleCustomSearch'] == false) {
|
||||||
echo "Google Custom Search disabled. You can enable it into the config.inc.php file.";
|
echo "Google Custom Search disabled. You can enable it into the config.php file.";
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php require_once '../../src/SemanticScuttle/header.php';
|
<?php require_once '../../src/SemanticScuttle/header.php';
|
||||||
|
|
||||||
if($GLOBALS['enableGoogleCustomSearch']==false) {
|
if($GLOBALS['enableGoogleCustomSearch']==false) {
|
||||||
echo "Google Custom Search disabled. You can enable it into the config.inc.php file.";
|
echo "Google Custom Search disabled. You can enable it into the config.php file.";
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue