[FEAT] Full function and deployed version
This commit is contained in:
@@ -7,6 +7,10 @@ class ScoreScanner {
|
||||
}
|
||||
|
||||
public function getAllScores() {
|
||||
if (!is_dir($this->scoresPath)) {
|
||||
return ['error' => 'Scores directory not found: ' . $this->scoresPath];
|
||||
}
|
||||
|
||||
$scores = [];
|
||||
$directories = scandir($this->scoresPath);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user