mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-21 08:12:26 +02:00
N°8834 - Add compatibility with PHP 8.4 (#819)
* N°8834 - Add compatibility with PHP 8.4 * Rollback of scssphp/scssphp version upgrade due to compilation error
This commit is contained in:
@@ -63,8 +63,9 @@ class RecursiveDirectoryIterator extends \RecursiveDirectoryIterator
|
||||
$subPathname .= $this->directorySeparator;
|
||||
}
|
||||
$subPathname .= $this->getFilename();
|
||||
$basePath = $this->rootPath;
|
||||
|
||||
if ('/' !== $basePath = $this->rootPath) {
|
||||
if ('/' !== $basePath && !str_ends_with($basePath, $this->directorySeparator) && !str_ends_with($basePath, '/')) {
|
||||
$basePath .= $this->directorySeparator;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user