Fixed wrong password if file contained EOF char

Esse commit está contido em:
keplyx 2019-07-25 10:24:59 +02:00
commit da6314499b

Ver arquivo

@ -40,7 +40,7 @@ class Dao
$file = fopen($real_path, "r") or die("Unable to open DB password file!");;
$password = fgets($file);
fclose($file);
return $password;
return trim($password);
}
public function get_score_team($team)