Tessier hace 3 años
padre
commit
ebb5db14b5
Se han modificado 5 ficheros con 63 adiciones y 9 borrados
  1. 4 0
      .gitignore
  2. 1 0
      composer.json
  3. 57 1
      composer.lock
  4. 1 5
      web/.htaccess
  5. 0 3
      web/sites/development.services.yml

+ 4 - 0
.gitignore

@@ -7,6 +7,10 @@ web/sites/default/files/*
 web/sites/default/files/.*
 web/sites/default/settings.php
 web/sites/*/files
+web/sites/development.services.yml
+web/sites/development.services.yml
+web/sites/default/online_settings.php
+web/.htaccess
 
 web/themes/custom/popsu_colloque/node_modules/*
 web/themes/custom/popsu_colloque/node_modules/.*

+ 1 - 0
composer.json

@@ -37,6 +37,7 @@
         "drupal/pathauto": "^1.8",
         "drupal/redirect": "^1.6",
         "drupal/redirect_after_login": "^2.6",
+        "drupal/redis": "^1.4",
         "drupal/schema_metatag": "^1.5",
         "drupal/site_settings": "^1.19",
         "drupal/subpathauto": "^1.1",

+ 57 - 1
composer.lock

@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "29cc16d87dfa1a5cf3a201520e89bc80",
+    "content-hash": "fde7628e678725f0a0bf21aff1250e43",
     "packages": [
         {
             "name": "asm89/stack-cors",
@@ -4213,6 +4213,62 @@
                 "source": "https://git.drupalcode.org/project/redirect_after_login"
             }
         },
+        {
+            "name": "drupal/redis",
+            "version": "1.4.0",
+            "source": {
+                "type": "git",
+                "url": "https://git.drupalcode.org/project/redis.git",
+                "reference": "8.x-1.4"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://ftp.drupal.org/files/projects/redis-8.x-1.4.zip",
+                "reference": "8.x-1.4",
+                "shasum": "87165acdda18873c1e3994c670bcb4cdafd3d0ff"
+            },
+            "require": {
+                "drupal/core": "^8.8 || ^9"
+            },
+            "suggest": {
+                "predis/predis": "^1.1.1"
+            },
+            "type": "drupal-module",
+            "extra": {
+                "drupal": {
+                    "version": "8.x-1.4",
+                    "datestamp": "1581504947",
+                    "security-coverage": {
+                        "status": "covered",
+                        "message": "Covered by Drupal's security advisory policy"
+                    }
+                }
+            },
+            "autoload": {
+                "psr-4": {
+                    "Drupal\\redis\\": "src"
+                }
+            },
+            "notification-url": "https://packages.drupal.org/8/downloads",
+            "license": [
+                "GPL-2.0"
+            ],
+            "authors": [
+                {
+                    "name": "Berdir",
+                    "homepage": "https://www.drupal.org/user/214652"
+                },
+                {
+                    "name": "pounard",
+                    "homepage": "https://www.drupal.org/user/240164"
+                }
+            ],
+            "description": "Provide a module placeholder, for using as dependency for module that needs Redis.",
+            "homepage": "https://www.drupal.org/project/redis",
+            "support": {
+                "source": "https://git.drupalcode.org/project/redis"
+            }
+        },
         {
             "name": "drupal/schema_metatag",
             "version": "1.7.0",

+ 1 - 5
web/.htaccess

@@ -109,7 +109,7 @@ AddEncoding gzip svgz
   # VirtualDocumentRoot and the rewrite rules are not working properly.
   # For example if your site is at http://example.com/drupal uncomment and
   # modify the following line:
-   RewriteBase /
+  # RewriteBase /drupal
   #
   # If your site is running in a VirtualDocumentRoot at http://example.com/,
   # uncomment the following line:
@@ -180,7 +180,3 @@ AddEncoding gzip svgz
   # Disable Proxy header, since it's an attack vector.
   RequestHeader unset Proxy
 </IfModule>
-
-#RewriteEngine On
-#RewriteCond %{SERVER_PORT} 80
-#RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]

+ 0 - 3
web/sites/development.services.yml

@@ -4,9 +4,6 @@
 # 'example.settings.local.php' file, which sits next to this file.
 parameters:
   http.response.debug_cacheability_headers: true
-  twig.config:
-    debug: true
-    auto_reload: true
 services:
   cache.backend.null:
     class: Drupal\Core\Cache\NullBackendFactory