forked from ozdemirburak/laravel-9-simple-cms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use default elfinder route, fix some versions
- Loading branch information
ozdemirbur
committed
Jul 7, 2015
1 parent
716a081
commit 9b879f8
Showing
5 changed files
with
88 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
<?php | ||
|
||
return array( | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Upload dir | ||
|-------------------------------------------------------------------------- | ||
| | ||
| The dir where to store the images (relative from public) | ||
| | ||
*/ | ||
'dir' => ['files'], | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Filesystem disks (Flysytem) | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Define an array of Filesystem disks, which use Flysystem. | ||
| You can set extra options, example: | ||
| | ||
| 'my-disk' => [ | ||
| 'URL' => url('to/disk'), | ||
| 'alias' => 'Local storage', | ||
| ] | ||
*/ | ||
'disks' => [ | ||
|
||
], | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Routes group config | ||
|-------------------------------------------------------------------------- | ||
| | ||
| The default group settings for the elFinder routes. | ||
| | ||
*/ | ||
|
||
'route' => [ | ||
'prefix' => 'elfinder', | ||
'middleware' => 'auth', //Set to null to disable middleware filter | ||
], | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Access filter | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Filter callback to check the files | ||
| | ||
*/ | ||
|
||
'access' => 'Barryvdh\Elfinder\Elfinder::checkAccess', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Roots | ||
|-------------------------------------------------------------------------- | ||
| | ||
| By default, the roots file is LocalFileSystem, with the above public dir. | ||
| If you want custom options, you can set your own roots below. | ||
| | ||
*/ | ||
|
||
'roots' => null, | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Options | ||
|-------------------------------------------------------------------------- | ||
| | ||
| These options are merged, together with 'roots' and passed to the Connector. | ||
| See https://github.com/Studio-42/elFinder/wiki/Connector-configuration-options-2.1 | ||
| | ||
*/ | ||
|
||
'options' => array(), | ||
|
||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters