https://github.com/noook/my-final-filer
https://github.com/noook/my-final-filer
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/noook/my-final-filer
- Owner: noook
- License: unlicense
- Created: 2018-02-08T15:50:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-17T09:25:36.000Z (over 8 years ago)
- Last Synced: 2025-04-03T15:48:28.286Z (about 1 year ago)
- Language: PHP
- Size: 110 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Final Filer
## By Benjamin COURTINE & Neil RICHTER
## Database
Make sure you replace the credentials in `config.php` with yours, so queries can work.
or
```php
$config = [
'db' => [
'name' => 'dbname',
'user' => 'username',
'password' => 'password',
'host' => '127.0.0.1',
'port' => null,
]
];
```
## Users
New users will have their directory named after their username in the directory `uploads`.
```
users/
├── .htaccess
└── johndoe
├── file.jpg
└── dir
└── file.pdf
```
## Directories access
in the directory `uploads/` there is a `.htaccess` (Apache) that will prevent any user, logged in or not to download or display in the browser any file that doesn't belong to him. It will return a 403 Forbiden error instead.
Installation
============
Run
```cp config/config.php.dist config/config.php```
Add your config to config.php
Run
```composer install```
or
```php composer.phar install```
You can get composer here :