X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2Fconfig%2Fconfig.yml;h=19e7155dd40464d56afcc12b66e1395c8fa6476f;hb=1930c19d8214c05ceefac5ac011a6b6e7e4a983d;hp=285fbd7cf10f96a06d5b622923ebfe6b4c7bd499;hpb=bd0f3d32c9ccb8f7a1409edb960b909a5e6a096d;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/config/config.yml b/app/config/config.yml index 285fbd7c..19e7155d 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -21,9 +21,11 @@ framework: trusted_proxies: ~ session: # handler_id set to null will use default session handler from php.ini - handler_id: ~ + handler_id: session.handler.native_file + save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%" fragments: ~ http_method_override: true + assets: ~ wallabag_core: languages: @@ -31,6 +33,10 @@ wallabag_core: fr: 'Français' de: 'Deutsch' +wallabag_import: + allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain'] + resource_dir: "%kernel.root_dir%/../web/uploads/import" + # Twig Configuration twig: debug: "%kernel.debug%" @@ -55,9 +61,8 @@ twig: warning_message: %warning_message% paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb" flattr_url: "https://flattr.com/thing/1265480" - form: - resources: - - LexikFormFilterBundle:Form:form_div_layout.html.twig + form_themes: + - "LexikFormFilterBundle:Form:form_div_layout.html.twig" # Assetic Configuration assetic: @@ -90,6 +95,20 @@ doctrine: default: auto_mapping: true +stof_doctrine_extensions: + default_locale: "%locale%" + translation_fallback: true + orm: + default: + tree: true + sluggable: true + +doctrine_migrations: + dir_name: "%kernel.root_dir%/DoctrineMigrations" + namespace: Application\Migrations + table_name: migration_versions + name: Application Migrations + # Swiftmailer Configuration swiftmailer: transport: "%mailer_transport%" @@ -119,6 +138,7 @@ fos_rest: nelmio_api_doc: sandbox: enabled: false + name: wallabag API documentation nelmio_cors: defaults: @@ -152,14 +172,8 @@ liip_theme: autodetect_theme: wallabag_core.helper.detect_active_theme path_patterns: - # app_resource: - # - %%app_path%%/views/themes/%%current_theme%%/%%template%% - # - %%app_path%%/views/%%template%% bundle_resource: - %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%% - # bundle_resource_dir: - # - %%dir%%/views/themes/%%current_theme%%/%%bundle_name%%/%%template%% - # - %%dir%%/views/%%bundle_name%%/%%override_path%% fos_user: db_driver: orm @@ -189,3 +203,8 @@ scheb_two_factor: sender_email: %twofactor_sender% digits: 6 template: WallabagUserBundle:Authentication:form.html.twig + mailer: wallabag_user.auth_code_mailer + +kphoen_rulerz: + executors: + doctrine: true