settings_php_set: Fix on newer drupal versions
This commit is contained in:
parent
feacd4eeae
commit
694e673c38
1 changed files with 5 additions and 1 deletions
|
|
@ -21,7 +21,11 @@ cd /var/www/data/project
|
||||||
chmod u+w web/sites/default/settings.php
|
chmod u+w web/sites/default/settings.php
|
||||||
|
|
||||||
(echo "$NAME"; echo "$VALUE" ) | drush php:eval '
|
(echo "$NAME"; echo "$VALUE" ) | drush php:eval '
|
||||||
include_once DRUPAL_ROOT . "/internal/core/includes/install.inc";
|
if(is_file(DRUPAL_ROOT . "/internal/")) {
|
||||||
|
include_once DRUPAL_ROOT . "/internal/core/includes/install.inc";
|
||||||
|
} else {
|
||||||
|
include_once DRUPAL_ROOT . "/core/includes/install.inc";
|
||||||
|
}
|
||||||
|
|
||||||
// read NAME and VALUE from STDIN
|
// read NAME and VALUE from STDIN
|
||||||
$content=file_get_contents("php://stdin");
|
$content=file_get_contents("php://stdin");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue