Commits

edogawaconan committed 2b1b4ad Draft

Updated various configs.

Comments (0)

Files changed (2)

gc-modules/usermanage/config.php

 	
 	Define("CRYPT_BLOWFISH", 1);
 */
-	Define("MINPASSCHAR",6);
+	Define("MINPASSCHAR",4);
 
 	$DB = array (
 						'hostname'  => 'localhost',
 						'username'  => 'gencore',
 						'password'  => 'XauirLxNXgRNPQ',
-						'database'  => 'genshiken'
+						'database'  => 'genshiken',
+						'port'  => '5432'
 					);
 	
 	$tables = array ("ftp_users",

gc-modules/usermanage/db.adapter.php

 		}
 		
 		function db_connect() {
-				$conn = pg_pconnect("host=$this->hostname port=5432 user=$this->username password=$this->password dbname=$this->database");
+				$conn = pg_pconnect("host=$this->hostname port=$this->port user=$this->username password=$this->password dbname=$this->database");
 				if ($conn) return TRUE;
 				return FALSE;
 		}