summaryrefslogtreecommitdiffstats
path: root/bin/disable-all-console-messages
diff options
context:
space:
mode:
Diffstat (limited to 'bin/disable-all-console-messages')
-rwxr-xr-xbin/disable-all-console-messages4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/disable-all-console-messages b/bin/disable-all-console-messages
new file mode 100755
index 0000000..4af5f3b
--- /dev/null
+++ b/bin/disable-all-console-messages
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+sed -r -i -e 's|^(\s*)console|\1//console|g' `find . -type f -name "*.php"`
+