Go to the source code of this file.
Variables | |
| $fail | |
| $password = dbx()->new_password(96, '-_!') | |
| if(strlen($password) !==96||preg_match('/^ | $webAppFile [a-zA-Z0-9_!\-]+$/', $password) !==1) = dirname(__DIR__) . '/dbxWebApp.class.php' |
| $webAppSource = file_get_contents($webAppFile) | |
| if(!is_string($webAppSource)||preg_match('/\\blogin\\s *\\(\\s *2\\s *\\)/', $webAppSource)===1 | $loadConfig ) |
| $baseFile = dirname(__DIR__, 2) . '/modules/dbx/cfg/config.php' | |
| $localFile = dirname(__DIR__, 2) . '/modules/dbx/cfg/config.local.php' | |
| $base = $loadConfig($baseFile) | |
| $local = is_file($localFile) ? $loadConfig($localFile) : array() | |
| $secretPaths | |
| $readPath | |
| foreach( $secretPaths as $path) | if ( $local) |
| $base = $loadConfig($baseFile) |
Definition at line 29 of file dbxApi_security_test.php.
| $baseFile = dirname(__DIR__, 2) . '/modules/dbx/cfg/config.php' |
Definition at line 27 of file dbxApi_security_test.php.
| $fail |
Definition at line 6 of file dbxApi_security_test.php.
| if (!is_string( $webAppSource)||preg_match('/\\blogin\\s *\\(\\s *2\\s *\\)/', $webAppSource)===1 $loadConfig) |
Definition at line 22 of file dbxApi_security_test.php.
| $local = is_file($localFile) ? $loadConfig($localFile) : array() |
Definition at line 30 of file dbxApi_security_test.php.
| $localFile = dirname(__DIR__, 2) . '/modules/dbx/cfg/config.local.php' |
Definition at line 28 of file dbxApi_security_test.php.
| $password = dbx()->new_password(96, '-_!') |
Definition at line 11 of file dbxApi_security_test.php.
Referenced by dbx\dbxSetup\dbxInstallationService\createAdmin(), dbx\dbxSetup\dbxInstallationService\ensureInitialAdmin(), dbxPasswordPolicy\errors(), dbxPasswordPolicy\missingCriteria(), and new_password().
| $readPath |
Definition at line 38 of file dbxApi_security_test.php.
| $secretPaths |
Definition at line 32 of file dbxApi_security_test.php.
| if (strlen( $password) !==96||preg_match('/^ $webAppFile[a-zA-Z0-9_!\-]+$/', $password) !==1) = dirname(__DIR__) . '/dbxWebApp.class.php' |
Definition at line 16 of file dbxApi_security_test.php.
| $webAppSource = file_get_contents($webAppFile) |
Definition at line 17 of file dbxApi_security_test.php.
| foreach($secretPaths as $path) if($local) | ( | $local | ) |
Definition at line 54 of file dbxApi_security_test.php.