Verify File

Danny Nunez edited this page Jun 8, 2013 · 2 revisions

verifySingleFile($file)

This method will verify if the file is the property $files_ignore array.

public function verifySingleFile($file) {
    $fileExt = $this->get_file_extension(strtolower($file));
    if (in_array($fileExt, $this->files_ignore, true)) {
        return FALSE;
    }
    return TRUE;
}

I would include an example on how to use this method but it does not need one.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.