Skip to content

Commit 304428b

Browse files
authored
Update wp-config.php
1 parent 2620ab5 commit 304428b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appengine/wordpress/src/files/flexible/wp-config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
define('GOOGLE_CLOUD_STORAGE_BUCKET', '{{project_id}}.appspot.com');
3131

3232
// $onGae is true on production.
33-
$onGae = filter_var(getenv('GAE_VM'), FILTER_VALIDATE_BOOLEAN);
33+
$onGae = getenv('GAE_VERSION') !== false || getenv('GAE_VM') !== false;
3434

3535
// Cache settings
3636
define('WP_CACHE', $onGae);

0 commit comments

Comments
 (0)