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