Verified Commit 8391bd4c authored by Jess's avatar Jess
Browse files

task: #3398033 Fix deprecated assert.active directive

By: andypost
By: smustgrave
By: catch
By: larowlan
By: chi
By: mfb
By: alexpott
By: longwave
By: darren oh
By: wim leers
By: daniel.pernold
By: quietone
By: dcam
By: xjm
By: drumm
(cherry picked from commit e180d541)
(cherry picked from commit 8c0d1874)
(cherry picked from commit 304b3c6c)
parent 46285c7a
Loading
Loading
Loading
Loading
Loading
+5 −2
Changes for .htaccess: 5 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -25,12 +25,15 @@ AddEncoding gzip svgz
# Add correct encoding for webp.
AddType image/webp .webp

# Most of the following PHP settings cannot be changed at runtime. See
# PHP settings that cannot be changed at runtime can be set here. See
# sites/default/default.settings.php and
# Drupal\Core\DrupalKernel::bootEnvironment() for settings that can be
# changed at runtime.
<IfModule mod_php.c>
  php_value assert.active                   0
  # It is strongly recommended that you set zend.assertions to 1 on development
  # machines and to 0 or -1 in production.
  # See https://www.php.net/manual/en/ini.core.php#ini.zend.assertions
  php_value zend.assertions 0
</IfModule>

# Requires mod_expires to be enabled.
+3 −2
Changes for core/assets/scaffold/files/example.settings.local.php: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -27,8 +27,9 @@
 * @see https://www.drupal.org/node/2492225
 *
 * It is strongly recommended that you set zend.assertions=1 in the PHP.ini file
 * (It cannot be changed from .htaccess or runtime) on development machines and
 * to 0 or -1 in production.
 * on development machines and to 0 or -1 in production.
 *
 * @see https://www.php.net/manual/en/ini.core.php#ini.zend.assertions
 */

/**
+5 −2
Changes for core/assets/scaffold/files/htaccess: 5 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -25,12 +25,15 @@ AddEncoding gzip svgz
# Add correct encoding for webp.
AddType image/webp .webp

# Most of the following PHP settings cannot be changed at runtime. See
# PHP settings that cannot be changed at runtime can be set here. See
# sites/default/default.settings.php and
# Drupal\Core\DrupalKernel::bootEnvironment() for settings that can be
# changed at runtime.
<IfModule mod_php.c>
  php_value assert.active                   0
  # It is strongly recommended that you set zend.assertions to 1 on development
  # machines and to 0 or -1 in production.
  # See https://www.php.net/manual/en/ini.core.php#ini.zend.assertions
  php_value zend.assertions 0
</IfModule>

# Requires mod_expires to be enabled.
+3 −2
Changes for sites/example.settings.local.php: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -27,8 +27,9 @@
 * @see https://www.drupal.org/node/2492225
 *
 * It is strongly recommended that you set zend.assertions=1 in the PHP.ini file
 * (It cannot be changed from .htaccess or runtime) on development machines and
 * to 0 or -1 in production.
 * on development machines and to 0 or -1 in production.
 *
 * @see https://www.php.net/manual/en/ini.core.php#ini.zend.assertions
 */

/**