(Nie chodzi mi o wyjątek, ale o jego treśc - funkcja scandir też nie działa) -
Fatal error: Uncaught exception 'UnexpectedValueException' with message 'DirectoryIterator::__construct(./Storage/,./Storage/) [<a href='directoryiterator.--construct'>directoryiterator.--construct</a>]: The system cannot find the file specified. (code: 2)' in C:\xampp\htdocs\forumz\Library\Forumz\Cache.php:89 Stack trace: #0 C:\xampp\htdocs\forumz\Library\Forumz\Cache.php(89): DirectoryIterator->__construct('./Storage/') #1 C:\xampp\htdocs\forumz\Library\Forumz\Settings.php(186): Forumz_Cache->destroy('BoardSettings') #2 [internal function]: Forumz_Settings->__destruct() #3 {main} thrown in C:\xampp\htdocs\forumz\Library\Forumz\Cache.php on line 89
A tutaj cześć kodu
foreach (new DirectoryIterator( STORAGE_PATH ) as $file) { }
Może to coś psuje
{ } else { }