FEATURE #1442: add uploaded file detail

This commit adds functionality for editing keywords and description of selected file. This commit also includes JS library for syntax highlighting (https://highlighjs.org)
This commit is contained in:
Michal Kváček
2016-02-08 19:55:09 +01:00
parent 3e9477ddc3
commit 1a8b07971e
86 changed files with 5581 additions and 41 deletions
+8 -8
View File
@@ -87,16 +87,16 @@ return [
'key' => env('APP_KEY'),
'cipher' => 'AES-256-CBC',
/**
/*
* Upload path used for storing all uploaded files
*/
'upload_path' => env('UPLOAD_PATH', public_path('uploads')),
'upload_url' => env('UPLOAD_URL', url('uploads')),
'thumbnail_path' => env('THUMBNAIL_PATH', public_path('uploads/thumbnails')),
'thumbnail_url' => env('THUMBNAIL_URL', url('uploads/thumbnails')),
'upload_path' => env('UPLOAD_PATH', public_path('uploads')),
'thumbnail_path' => env('THUMBNAIL_PATH', public_path('uploads/thumbnails')),
/*
* Artisan cannot access to website URL, therefore we need to use PHP_SAPI const for determining running from CLI.
*/
'upload_url' => env('UPLOAD_URL', PHP_SAPI === 'cli' ? '' : url('uploads')),
'thumbnail_url' => env('THUMBNAIL_URL', PHP_SAPI === 'cli' ? '' : url('uploads/thumbnails')),
/*
|--------------------------------------------------------------------------
| Logging Configuration