Vergleich inc/class_error.php - 1.4.2 - 1.4.5

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: class_error.php 4131 2008-08-19 15:31:39Z Tikitiki $

 * $Id: class_error.php 4271 2008-11-16 06:20:15Z Tikitiki $

 */

// Set to 1 if recieving a blank page (template failure).

 */

// Set to 1 if recieving a blank page (template failure).

Zeile 125Zeile 125

$this->has_errors = true;



$this->has_errors = true;


		if(($mybb->settings['errortypemedium'] == "both" || !$mybb->settings['errortypemedium']) || my_strpos(my_strtolower($this->error_types[$type]), $mybb->settings['errortypemedium']))








		// For some reason in the installer this setting is set to "<"
$accepted_error_types = array('both', 'error', 'warning');
if(!in_array($mybb->settings['errortypemedium'], $accepted_error_types))
{
$mybb->settings['errortypemedium'] = "both";
}

if(($mybb->settings['errortypemedium'] == "both" || !$mybb->settings['errortypemedium']) || my_strpos(my_strtolower($this->error_types[$type]), $mybb->settings['errortypemedium']) || defined("IN_INSTALL") || defined("IN_UPGRADE"))

		{
if(defined("IN_TASK"))
{

		{
if(defined("IN_TASK"))
{