Trying to fix a issue

This commit is contained in:
Tobias Reich 2014-02-27 20:14:52 +01:00
parent ab37e3e525
commit ce4d37dc47

View File

@ -49,7 +49,7 @@ $config = "<?php
if(!defined('LYCHEE')) exit('Error: Direct access is not allowed!');
// Config version
\$configVersion = '$version';
\$configVersion = 'x';
// 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;