"; # Save file if (file_put_contents(LYCHEE_CONFIG_FILE, $config)===false) return 'Warning: Could not create file!'; return true; } public static function exists() { return file_exists(LYCHEE_CONFIG_FILE); } public static function get() { require(LYCHEE_CONFIG_FILE); return(array( 'host' => $dbHost, 'user' => $dbUser, 'password' => $dbPassword, 'name' => $dbName, 'prefix' => $dbTablePrefix )); } } ?>