Revision 1884
Added by Luisehahne over 12 years ago
| initialize.php | ||
|---|---|---|
| 98 | 98 |
if(sizeof($x) != 0) {
|
| 99 | 99 |
foreach($x as $aStep) {
|
| 100 | 100 |
// define the scripts which can read the configuration |
| 101 |
if(preg_match('/(index.php|config.php|upgrade-script.php)$/si', $aStep['file'])) {
|
|
| 101 |
if(preg_match('/(save.php|index.php|config.php|upgrade-script.php)$/si', $aStep['file'])) {
|
|
| 102 | 102 |
$bValidRequest = true; |
| 103 | 103 |
break; |
| 104 | 104 |
} |
| 105 | 105 |
} |
| 106 |
}else {
|
|
| 106 |
} else {
|
|
| 107 | 107 |
$bValidRequest = true; |
| 108 | 108 |
} |
| 109 | 109 |
if(!$bValidRequest) {
|
Also available in: Unified diff
! from security reasons the new installation has changed
from the old config.php into new setup.ini.php without
using global constants for critical values like username & password and so on.