Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-22006 fixed problems with E_ALL in PHP 5.3., thanks Mauno Korpela…

…inen for the report
  • Loading branch information...
commit 10dd4cd8d03de0e6b6de6f64fcc9b93c96a71a89 1 parent d1d101e
Petr Škoda authored
2  filter/algebra/algebradebug.php
@@ -23,7 +23,7 @@
23 23
     require_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM));
24 24
 
25 25
     $query = urldecode($_SERVER['QUERY_STRING']);
26  
-    error_reporting(E_ALL);
  26
+    error_reporting(DEBUG_ALL);
27 27
 
28 28
     if ($query) {
29 29
       $output = $query;
2  filter/tex/pix.php
@@ -26,8 +26,6 @@
26 26
     $cmd    = '';               // Initialise these variables
27 27
     $status = '';
28 28
 
29  
-    error_reporting(E_ALL);
30  
-
31 29
     $relativepath = get_file_argument('pix.php');
32 30
 
33 31
     $args = explode('/', trim($relativepath, '/'));
2  filter/tex/texdebug.php
@@ -25,7 +25,7 @@
25 25
     require_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM), $USER->id); /// Required cap to run this. MDL-18552
26 26
 
27 27
     $query = urldecode($_SERVER['QUERY_STRING']);
28  
-    error_reporting(E_ALL);
  28
+    error_reporting(DEBUG_ALL);
29 29
     $output = '';
30 30
 
31 31
     // look up in cache if required
2  mnet/testclient.php
@@ -17,7 +17,7 @@
17 17
 $context = get_context_instance(CONTEXT_SYSTEM);
18 18
 require_capability('moodle/site:config', $context);
19 19
 
20  
-error_reporting(E_ALL);
  20
+error_reporting(DEBUG_ALL);
21 21
 
22 22
 // Some HTML sugar
23 23
 echo '<?xml version="1.0" encoding="utf-8"?>';

0 notes on commit 10dd4cd

Please sign in to comment.
Something went wrong with that request. Please try again.