public static function set_db_info($name, $host, $user, $pass) { EDatabase::$db_name = $name; EDatabase::$db_host = $host; EDatabase::$db_user = $user; EDatabase::$db_pass = $pass; }