2011-11-03 Sancho Lerena <slerena@artica.es>
* include/functions_html.php: Skip config.php loading after load the first one. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5110 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
746dc96625
commit
a0c8b8019e
|
@ -1,3 +1,8 @@
|
|||
2011-11-03 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* include/functions_html.php: Skip config.php loading after load
|
||||
the first one.
|
||||
|
||||
2011-11-03 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/graphs/functions_pchart.php: Fixed graphs to adapt bottom
|
||||
|
|
|
@ -26,6 +26,7 @@ if (!isset($config)) {
|
|||
for ($i = 0; $i < $levels; $i++) {
|
||||
if(file_exists(str_repeat("../", $i) . 'config.php')) {
|
||||
require_once(str_repeat("../", $i) . "config.php");
|
||||
break; // Skip config.php loading after load the first one
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue