Explorar el Código

temporarily bring back errors into nginx logs

CauseFX hace 4 años
padre
commit
105f51efd9
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      api/classes/organizr.class.php

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

@@ -227,6 +227,8 @@ class Organizr
 	public function phpErrors()
 	{
 		$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;
 		error_reporting($errorTypes);
 		ini_set('display_errors', $displayErrors);