Skip to content

Check result of dir() in archimedes_directory_hash() before iterating #1

@xurizaemon

Description

@xurizaemon

If a directory passed to archimedes_directory_hash() is not accessible to the webserver, then the iteration following $d=dir($dir); can throw a fatal error.

This kills the Archimedes settings page, and most likely the reporting and site cron as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions