In order to secure file uploading in my admin area I have added this to the PHP connector configuration file, right above $Config['Enabled'] = true; :
require "[myFilePath]";
However, once I do this the image upload doesn't work at all. No error message, nothing, once I try to upload an image it just keeps loading until I abort. What I am missing here?
Apparently it works if I use it as a function:
require ("[myFilePath]");
However, once I do this I can still not use my functions needed to verify the user, such as connecting to the database. Once I do that it continues to load just as before...
require "[myFilePath]";
However, once I do this the image upload doesn't work at all. No error message, nothing, once I try to upload an image it just keeps loading until I abort. What I am missing here?
Apparently it works if I use it as a function:
require ("[myFilePath]");
However, once I do this I can still not use my functions needed to verify the user, such as connecting to the database. Once I do that it continues to load just as before...