Browse Source

Fixing a migration bug from version 2.0 to 2.1 (#87)

Tobias Reich 10 years ago
parent
commit
39f299a8c2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      php/modules/db.php

+ 2 - 2
php/modules/db.php

@@ -49,7 +49,7 @@ $config = "<?php
 if(!defined('LYCHEE')) exit('Error: Direct access is not allowed!');
 
 // Config version
-\$configVersion = 'x';
+\$configVersion = '';
 
 // Database configurations
 \$dbHost = '$dbHost'; //Host of the Database
@@ -60,7 +60,7 @@ if(!defined('LYCHEE')) exit('Error: Direct access is not allowed!');
 ?>";
 
 		if (file_put_contents('../data/config.php', $config)===false) return 'Warning: Could not create file!';
-		
+
 		$_SESSION['login'] = true;
 		return true;