SHOULD NOT leave your SALT or SALTY default changing them will require registering again."; } else { $newerror['description'] = "SALT or SALTY is too short, they should be more than 24 characters and changing them will require registering again.
"; } $newerror['configvalue'] = "SALT"; $newerror['helplink'] = "https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-defines--salts"; $error[] = $newerror; $newerror = null; } // check if htaccess exists if (!file_exists(BASEPATH.".htaccess")) { $newerror = array(); $newerror['name'] = ".htaccess"; $newerror['level'] = 2; $newerror['extdesc'] = ".htaccess files let you control who/how files are accessed for Apache. If you're using Apache for MPOS, you should be using .htaccess."; $htaccess_link = ".htaccess"; $newerror['description'] = "You don't seem to have a .htaccess in your public folder, if you're using Apache set it up: $htaccess_link"; $newerror['configvalue'] = ".htaccess"; $newerror['helplink'] = "https://github.com/MPOS/php-mpos/wiki"; $error[] = $newerror; $newerror = null; }