We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2620ab5 commit 304428bCopy full SHA for 304428b
appengine/wordpress/src/files/flexible/wp-config.php
@@ -30,7 +30,7 @@
30
define('GOOGLE_CLOUD_STORAGE_BUCKET', '{{project_id}}.appspot.com');
31
32
// $onGae is true on production.
33
-$onGae = filter_var(getenv('GAE_VM'), FILTER_VALIDATE_BOOLEAN);
+$onGae = getenv('GAE_VERSION') !== false || getenv('GAE_VM') !== false;
34
35
// Cache settings
36
define('WP_CACHE', $onGae);
0 commit comments