file_exists issue

G

grantus

Guest
Member
I have this code:

Code:

Code:
$dataDir = \XF::app()->config('externalDataPath');
$fileDirectory = $dataDir. '://ill/upload/';
$filename = $signupUsername.'_'.$signupFilename.'.mp3';

if (file_exists($fileDirectory.$filename)) {
 \XF\Util\File::deleteFromAbstractedPath($fileDirectory.$filename); 
}

but for some reason file_exists isn't working. Deleting the file is fine, and I've checked all the paths, so I'm assuming there's a problem with file_exists checking inside the data folder? Any ideas?
file_exists issue

free plugins
minecraft paid for free
mcmarket
mc-market
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
 
BlackSpigot General Chat
Rules Help Users
    C @ CuteBunny765: Download kese karo is ko
    Top