| @@ 119-127 (lines=9) @@ | ||
| 116 | if (is_numeric($mododebug)) { |
|
| 117 | $this->debugMode = $mododebug; |
|
| 118 | } |
|
| 119 | if ($mododebug == 1) { |
|
| 120 | //ativar modo debug |
|
| 121 | error_reporting(E_ALL); |
|
| 122 | ini_set('display_errors', 'On'); |
|
| 123 | } elseif ($mododebug == 0) { |
|
| 124 | //desativar modo debug |
|
| 125 | error_reporting(0); |
|
| 126 | ini_set('display_errors', 'Off'); |
|
| 127 | } |
|
| 128 | $this->orientacao = $sOrientacao; |
|
| 129 | $this->papel = $sPapel; |
|
| 130 | $this->pdf = ''; |
|
| @@ 120-128 (lines=9) @@ | ||
| 117 | if (is_numeric($mododebug)) { |
|
| 118 | $this->debugMode = $mododebug; |
|
| 119 | } |
|
| 120 | if ($mododebug == 1) { |
|
| 121 | //ativar modo debug |
|
| 122 | error_reporting(E_ALL); |
|
| 123 | ini_set('display_errors', 'On'); |
|
| 124 | } elseif ($mododebug == 0) { |
|
| 125 | //desativar modo debug |
|
| 126 | error_reporting(0); |
|
| 127 | ini_set('display_errors', 'Off'); |
|
| 128 | } |
|
| 129 | $this->orientacao = $sOrientacao; |
|
| 130 | $this->papel = $sPapel; |
|
| 131 | $this->pdf = ''; |
|