![]() |
fileexists
Whats the deal with fileexists()? Is it just not working correctly? This is starting to annoy me..
PHP Code:
No matter what I try, fileExists() constantly returns false. |
Ask yourself it the file exists! :p
|
I know the file exists.. but the script doesnt :]
|
He's holding back, torture should get him to confess.
|
You may need to give the npc-server read rights to the file.
Anyway, here is a function which uses loadlines to check if a file exists. PHP Code:
|
Quote:
temp.file.size() > 0 |
I think it might have something to do with the folder configuration. Certain functions work or don't work outside of the levels/ folder.
|
| All times are GMT +2. The time now is 10:49 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.