Skip to content

Commit

Permalink
fix installer
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansamuel committed Feb 12, 2020
1 parent 089f912 commit 77cb470
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/config.example.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License in docs/GPL.txt for more details.
*/
$currentversion = 2.1;
$currentversion = 2.2;

// Max paste size in MB. This value should always be below the value of
// post_max_size in your PHP configuration settings (php.ini) or empty errors will occur.
Expand Down
8 changes: 4 additions & 4 deletions install/configure.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
* GNU General Public License in LIC.txt for more details.
*/
$currentversion = 2.1;
$currentversion = 2.2;
// Max paste size in MB. This value should always be below the value of
// post_max_size in your PHP configuration settings (php.ini) or empty errors will occur.
Expand All @@ -75,11 +75,11 @@
$dbhost = "' . $data_host . '";
$dbuser = "' . $data_user . '";
$dbpassword = "' . $data_pass . '";
$dbname = "' . $data_name . '";' . "
$dbname = "' . $data_name . '";
// Secret key for paste encryption
$sec_key' . " = '$data_sec';
define('SECRET',md5(" . '$sec_key));
$sec_key = "' . $data_sec . '";
define(\'SECRET\',md5($sec_key));
// Set to 1 to enable Apache\'s mod_rewrite
$mod_rewrite = "0";
Expand Down

0 comments on commit 77cb470

Please sign in to comment.