Problem Description
I want to open a directory and read all the files inside and put them into an `array`, so far I have:
$imagesdir = $CFG->dataroot.'/1/themeimages/';
Which gives me the path to the directory, whats the next step?
AI-Generated Solution
Powered by LMSouq AI · GPT-4.1-mini
Analyzing problem and generating solution…
Was this solution helpful?