Error when open_basedir is configured and the parent of tempDataPath is not included

Status
This content is read-only, or is not open for further replies.

Kirby

Guest
Code:

Code:
RuntimeException: SplFileInfo::isFile(): open_basedir restriction in effect. File(/<tempdir>/..) is not within the allowed path(s)

#0 src/XF/Util/File.php(146): SplFileInfo->isFile()

Changing
PHP:

if (!$file->isFile() || $file->getFilename() == 'index.html')

to
PHP:

if ($file->isDot() || !$file->isFile() || $file->getFilename() === 'index.html')

seems to fix this.

Continue reading...

free plugins
minecraft paid for free
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
 
Liked by:
Status
This content is read-only, or is not open for further replies.

Latest threads

Forum statistics

Threads
66,099
Messages
98,562
Members
63,237
Latest member
Zach__
Top Bottom