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
<?php | |
namespace AppBundle\Service; | |
use FM\ElfinderBundle\Configuration\ElFinderConfigurationReader; | |
use FM\ElfinderBundle\Model\ElFinderConfigurationProviderInterface; | |
use Symfony\Component\DependencyInjection\ContainerInterface; | |
use Symfony\Component\HttpFoundation\RequestStack; | |
class ConfigurationReader extends ElFinderConfigurationReader |
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
imports: | |
- { resource: parameters.yml } | |
- { resource: security.yml } | |
- { resource: services.yml } | |
- { resource: elfinder.yml } | |
# Put parameters here that don't need to change on each machine where the app is deployed | |
# http://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration | |
parameters: | |
locale: en |
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
# Learn more about services, parameters and containers at | |
# http://symfony.com/doc/current/book/service_container.html | |
parameters: | |
# parameter_name: value | |
services: | |
my_elfinder_configurator: | |
class: AppBundle\Service\ConfigurationReader | |
arguments: ["%fm_elfinder%", "@request_stack", "@service_container"] |
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
fm_elfinder: | |
configuration_provider: my_elfinder_configurator | |
instances: | |
ckeditor: | |
locale: %locale% | |
editor: ckeditor # other choices are tinymce or simple | |
include_assets: true | |
relative_path: true | |
connector: | |
roots: # at least one root must be defined |
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
<?php | |
namespace AppBundle\Entity; | |
use FOS\UserBundle\Model\User as BaseUser; | |
use Doctrine\ORM\Mapping as ORM; | |
/** | |
* @ORM\Entity | |
* @ORM\Table(name="fos_user") |
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
<?php | |
namespace AppBundle\Service; | |
use FM\ElfinderBundle\Configuration\ElFinderConfigurationReader; | |
use FM\ElfinderBundle\Model\ElFinderConfigurationProviderInterface; | |
use Symfony\Component\DependencyInjection\ContainerInterface; | |
use Symfony\Component\HttpFoundation\RequestStack; | |
class ConfigurationReader extends ElFinderConfigurationReader |
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
stfalcon_tinymce: | |
include_jquery: true | |
tinymce_jquery: true | |
selector: ".tinymce" | |
theme: | |
simple: ~ | |
advanced: | |
plugins: | |
- "advlist autolink lists link image charmap print preview hr anchor pagebreak" | |
- "searchreplace wordcount visualblocks visualchars code fullscreen" |
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
fm_bbcode: | |
filter_sets: | |
my_default_filter: | |
strict: false # if you want to parse attr values without quotes | |
locale: en | |
xhtml: false | |
filters: [ default, block, code, email, image, list, url ] | |
hooks: [emoticon] | |
emoticon: | |
resource: %kernel.root_dir%/config/emoticons.yml |
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
services: | |
gelf.udp.transport: | |
class: Gelf\Transport\UdpTransport | |
gelf.publisher: | |
class: Gelf\Publisher | |
arguments: [@gelf.udp.transport] | |
monolog.gelf_handler: | |
class: Monolog\Handler\GelfHandler | |
arguments: [@gelf.publisher] | |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
NewerOlder