Browse Source

temporarily bring back errors into nginx logs

CauseFX 4 years ago
parent
commit
105f51efd9
1 changed files with 2 additions and 0 deletions
  1. 2 0
      api/classes/organizr.class.php

+ 2 - 0
api/classes/organizr.class.php

@@ -227,6 +227,8 @@ class Organizr
 	public function phpErrors()
 	public function phpErrors()
 	{
 	{
 		$errorTypes = $this->dev ? E_ERROR | E_WARNING | E_PARSE | E_NOTICE : 0;
 		$errorTypes = $this->dev ? E_ERROR | E_WARNING | E_PARSE | E_NOTICE : 0;
+		// Temp overwrite for now
+		$errorTypes = E_ERROR | E_WARNING | E_PARSE | E_NOTICE;
 		$displayErrors = $this->dev ? 1 : 0;
 		$displayErrors = $this->dev ? 1 : 0;
 		error_reporting($errorTypes);
 		error_reporting($errorTypes);
 		ini_set('display_errors', $displayErrors);
 		ini_set('display_errors', $displayErrors);