No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Controller
Cool
Model
Routing
assets
config
logs
uploads
views
.gitignore
LICENSE
README.md
composer.json
composer.lock
db.sql
index.php

README.md

Final Filer

By Benjamin COURTINE & Neil RICHTER

Database

Make sure you replace the credentials in config.php with yours, so queries can work.

or

$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 : https://getcomposer.org/download/