Level 104
../ take you up one level and outside the project directory; what are you trying to achieve??
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm trying to create folder in public/storage but when i call Storage::makeDirectory("public/storage/newdirectory") it creats folder in storage folder with subfolders public/storage/newdirectory. when i try to change it to ../public/storage then i get error message "Path is outside of the defined root". Any idea how can i change it?
Please or to participate in this conversation.