Skip to content

Commit

Permalink
change create_links logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Kingston-kms committed Dec 4, 2020
1 parent 16bc26c commit fe78318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/classes/Mirror.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ static public function create_links($dir, $new_files)
);

$version = false;
preg_match($preg_pattern,static::$version == 'v5' ? 'ep5' : static::$version,$version);
preg_match($preg_pattern, static::$version,$version);
/** @var RegexIterator $file */
foreach ($iterator as $file) {
$pathVersion = false;
Expand Down

0 comments on commit fe78318

Please sign in to comment.