HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/PvdBoogaard/indoorski.nl/backup/oude-site/marketing/admin/com/lib/IEM/Support.php
<?php

/**
 * @author     Trey Shugart
 * @package    IEM
 * @subpackage Support
 */

/**
 * Contains methods for feature detection so we can determine if a particular
 * feature, or even IEM as a whole will work on any given server configuration.
 */
class IEM_Support
{
	/**
	 * Returns whether or not the server has the GD Library installed.
	 * 
	 * @return boolean
	 */
	static public function hasGdLibrary()
	{
		return function_exists('gd_info');
	}
	
	/**
	 * Returns whether or not the server has support for PDO.
	 * 
	 * @return boolean
	 */
	static public function hasPdo()
	{
		return class_exists('PDO', false);
	}
}