RecursiveDirectoryIterator |
hello!
ป๊อกเด้งออนไลน์UFAXS I am converting an application from Codeigniter 3 to 4. I have written some functions related to files and with Codeigniter 4 the php "RecursiveDirectoryIterator" function can no longer be found.
Maybe you are missing an import statement. Try adding "use RecursiveDirectoryIterator;" after the namespace declaration. Alternatively, you can prepend a namespace separator when you instantiate the class, i.e. "new \RecursiveDirectoryIterator(...)". (Notice the backslash added).
|
Welcome Guest, Not a member yet? Register Sign In |