diff --git a/README.md b/README.md index b48893277..5573bc078 100755 --- a/README.md +++ b/README.md @@ -93,6 +93,7 @@ Change Log - v0.2.2 - Moved file list from config.php to the database to be easier to add and remove file paths - Added version to the configuration table to aid in the upgrading of Userfrosting - Added dev_env to config.php as well as new setting to db-setting.php when set to true UF will no longer check for the install or upgrade directory (good for development defaults to FALSE) +- Removal of models/captcha.php and replace with base64 captcha function. [Older changes](CHANGELOG.md) diff --git a/install/install_db.php b/install/install_db.php index 2f3354382..655bef501 100755 --- a/install/install_db.php +++ b/install/install_db.php @@ -210,7 +210,7 @@ (10, 'root_account_config_token', '" . md5(uniqid(mt_rand(), false)) . "'), (11, 'email_login', '".$selected_email."'), (12, 'token_timeout', '10800'), -(13, 'version', $version); +(13, 'version', '0.2.2'); "; $pages_sql = "CREATE TABLE IF NOT EXISTS `".$db_table_prefix."pages` ( diff --git a/models/config.php b/models/config.php index 2fa777f6a..44832ecc5 100755 --- a/models/config.php +++ b/models/config.php @@ -40,7 +40,7 @@ function logAllErrors($errno, $errstr, $errfile, $errline, array $errcontext) { // This will stop the installer / upgrader from running as it normally would and should always be set to false // Options TRUE | FALSE bool -$dev_env = TRUE; +$dev_env = FALSE; require_once("db-settings.php"); //Require DB connection require_once("funcs.php"); diff --git a/models/db-settings.php b/models/db-settings.php index a2e9721ec..bd8b53b62 100755 --- a/models/db-settings.php +++ b/models/db-settings.php @@ -32,7 +32,7 @@ //Database Information $db_host = "localhost"; //Host address (most likely localhost) $db_name = "userfrosting"; //Name of Database -$db_user = "root"; //Name of database user +$db_user = "username"; //Name of database user $db_pass = "password"; //Password for database user $db_table_prefix = "uf_";