Browse Source

Added 'public' to database connect function

Tobias Reich 8 years ago
parent
commit
1019b0fef1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      php/modules/Database.php

+ 1 - 1
php/modules/Database.php

@@ -23,7 +23,7 @@ final class Database extends Module {
 		'030003' #3.0.3
 	);
 
-	static function connect($host = 'localhost', $user, $password, $name = 'lychee') {
+	public static function connect($host = 'localhost', $user, $password, $name = 'lychee') {
 
 		# Check dependencies
 		Module::dependencies(isset($host, $user, $password, $name));