Vergleich captcha.php - 1.4.0 - 1.4.6

  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: captcha.php 3790 2008-04-23 22:50:33Z Tikitiki $

 * $Id: captcha.php 4304 2009-01-02 01:11:56Z chris $

 */

define("IN_MYBB", 1);
define("NO_ONLINE", 1);

 */

define("IN_MYBB", 1);
define("NO_ONLINE", 1);

 
define('THIS_SCRIPT', 'captcha.php');


require_once "./global.php";



require_once "./global.php";


Zeile 325Zeile 326
		return;
}


		return;
}


	ob_start();
phpinfo(8);
$info = ob_get_contents();
ob_end_clean();
$info = stristr($info, 'gd version');
preg_match('/\d/', $info, $gd);
$gd_version = $gd[0];










	if(function_exists("gd_info"))
{
$gd_info = gd_info();
preg_match('/\d/', $gd_info['GD Version'], $gd);
$gd_version = $gd[0];
}
else
{
ob_start();
phpinfo(8);
$info = ob_get_contents();
ob_end_clean();
$info = stristr($info, 'gd version');
preg_match('/\d/', $info, $gd);
$gd_version = $gd[0];
}

	
return $gd_version;
}

	
return $gd_version;
}