Closed donsingh closed 7 years ago
Please note, that this package is deprecated and not supported.
You can try out RichFileManager
@servocoder do I connect RichFileManager the same way as FileManager? Im using CodeIgniter (MVC) btw.
RichFileManager is came out from the simogeo's FileManager however was reworked a lot. The installation steps are differ. For PHP connector the composer tool is used. Follow the Wiki section of RichFileManager and go ahead to learn more.
I know this repo is already depracated but seeing as RichFilemanager does not support MVC yet, using codeigniter I am going to choose this wonderful package still.
Here's the weird thing, using $fm->setFileRoot() causes a "no way" error.
config:
user.config.php
If session['admin'] were true, the if statement doesnt trigger and everything runs smoothly.
If admin, basically it would open to: C:\xampp\htdocs\usc2\uploads\
BUT, if not admin, open to a subfolder: C:\xampp\htdocs\usc2\uploads\bravo\
This is the log when admin is on (works fine):
This is the log when admin is off (using setFileRoot, getting "No Way"):
I noticed that path_to_files is now "\" which could be the problem?
BTW this is a windows system and will be deployed on a windows machine if that's any concern. I hope you can get back to me on this asap. Thank you very much!