Global notes about Drupal development
Default settings file
Include local configuration file
| #Specify a charset | |
| charset utf-8; | |
| # set client body size to 2M # | |
| client_max_body_size 2M; | |
| location = /favicon.ico { | |
| log_not_found off; | |
| access_log off; | |
| } |
| # WordPress single site rules. | |
| # Designed to be included in any server {} block. | |
| # This order might seem weird - this is attempted to match last if rules below fail. | |
| # http://wiki.nginx.org/HttpCoreModule | |
| location / { | |
| try_files $uri $uri/ /index.php?$args; | |
| } | |
| # Add trailing slash to */wp-admin requests. |
| <?php | |
| /** | |
| * | |
| * Safe Search and Replace on Database with Serialized Data v2.0.1 | |
| * | |
| * This script is to solve the problem of doing database search and replace when | |
| * developers have only gone and used the non-relational concept of serializing | |
| * PHP arrays into single database columns. It will search for all matching | |
| * data on the database and change it, even if it's within a serialized PHP | |
| * array. |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
#Git Notes