This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drush sqlq "SELECT DISTINCT SUBSTRING_INDEX(filename , '/', 5) dir | |
FROM system | |
WHERE status = 0 | |
AND type = 'module' | |
AND filename NOT LIKE 'modules/%' | |
HAVING dir NOT IN ( | |
SELECT SUBSTRING_INDEX(filename , '/', 5) | |
FROM system | |
WHERE status = 1 | |
);" | xargs rm -rf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Create user for git: | |
As root: | |
useradd git-user | |
passwd git-user | |
chmod +xr /home/git-user/ | |
## Create empty git repo: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Response.php b/Response.php | |
index 9544a671..54dd215c 100644 | |
--- a/Response.php | |
+++ b/Response.php | |
@@ -370,15 +370,29 @@ class Response | |
*/ | |
public function send() | |
{ | |
+ if (extension_loaded('newrelic')) { | |
+ newrelic_add_custom_tracer("Response::send/sendHeaders"); |