O'Reilly logo

Drush User's Guide by Juan Pablo Novillo Requena

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring a site (variable-set and variable-get)

Once logged in as the administrator in our newly created site, it is time to configure its basic behavior. We could navigate through each of the configuration pages, choosing what best fits our purpose. However, there are some scenarios where you know which settings you want to set and do not want to go log in and go through each of the configuration pages, where they are located, to change them. For example, imagine that you have just downloaded a production database, and every time you do this you have to change a few settings to block unwanted reactions while working with the site (such as disabling SMTP e-mail submission). The commands variable-set, variable-get, and variable-delete allow ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required