]> git.pld-linux.org Git - packages/ckfinder.git/blobdiff - error_reporting.patch
- never touch error_reporting in a production
[packages/ckfinder.git] / error_reporting.patch
diff --git a/error_reporting.patch b/error_reporting.patch
new file mode 100644 (file)
index 0000000..d30f320
--- /dev/null
@@ -0,0 +1,15 @@
+--- ckfinder-1.4.2/./core/connector/php/connector.php~ 2010-05-26 19:50:10.000000000 +0300
++++ ckfinder-1.4.2/./core/connector/php/connector.php  2010-05-26 19:50:50.329046561 +0300
+@@ -20,12 +20,6 @@
+  */
+ /**
+- * Protect against sending warnings to the browser (#186).
+- * Comment out this line during debugging. 
+- */
+-error_reporting(0);
+-
+-/**
+  * Protect against sending content before all HTTP headers are sent (#186).
+  */
+ ob_start();
This page took 0.082764 seconds and 4 git commands to generate.