|ljoonal fb93a97808||1 year ago|
|dist||1 year ago|
|src||1 year ago|
|.gitignore||2 years ago|
|.htaccess||2 years ago|
|build-css.js||2 years ago|
|license||2 years ago|
|package-lock.json||2 years ago|
|package.json||2 years ago|
|readme.md||2 years ago|
|setup.md||2 years ago|
|todo.md||1 year ago|
FiBr - File Browser. It allows you to customize your file names and the date’s of the files. Or even folders for that matter. It uses mySQL databases to store all of the file information, so it doesn’t need to rely on the actual date modified attributes of the files, or the actual names.
These are what it’s tested on, might work on other setups as well:
Right now you don’t. This doesn’t work yet.
You’d download this project folder, move index.php to some location, point your htacces to use that file as the index file, change some variables in the index.php to tell it where sorttable.js and the css files are along with the file icons. Then you’d set up the enviroment variables in apache vhosts config
<VirtualHost *:80> ServerName yourserverhere.com DocumentRoot /your/document/root SetEnv MYSQLNAME yourmysqluser SetEnv MYSQLPASS yourmysqluserpasswordhere </VirtualHost>
and then you’d just open the folder you want to access and it’d just work.
<? ... ?>(
<?= ... ?>is fine along with the normal
<?php ... ?>)
General usage idea: you can move all of the files to wherever you want, index.php will contain variables for all the needed file’s paths that you’ll change. Then it’ll read the url, and get the current location from there, not from where index.php is located. That way, you can use .htaccess to point from other folders to that file, or include it in the index file.