} // END - if
// Check if there is no scrambling string
-if (getConfig('pass_scramble') == '') {
+if (getPassScramble() == '') {
// Generate 40 chars long scramble string
$scrambleString = genScrambleString(40);
} // END - if
// Check if there is no master salt string
-if (getConfig('master_salt') == '') {
+if (getMasterSalt() == '') {
// Generate the master salt which is the first chars minus 40 chars of this random hash
// We do an extra scrambling here...
$masterSalt = scrambleString(sha1(generatePassword(mt_rand(128, 256))));
unset($masterSalt);
} // END - if
-if (getConfig('file_hash') == '') {
+if (getFileHash() == '') {
// Create filename from hashed random string
$fileHash = sha1(generatePassword(mt_rand(128, 256)));
$FQFN = sprintf("%sinc/.secret/.%s",
- getConfig('PATH'),
+ getPath(),
$fileHash
);
// Generate FQFN for .htaccess file
$FQFN = sprintf("%sinc/.secret/.htaccess",
- getConfig('PATH')
+ getPath()
);
// Is the .htaccess file there?