* @package tao * @deprecated */ class tao_helpers_Environment { /** * Returns the maximum size for fileuploads in bytes. * * @author Joel Bout, * @deprecated use SystemHelper::getFileUploadLimit() * @return int The upload file limit. */ public static function getFileUploadLimit() { return SystemHelper::getFileUploadLimit(); } /** * Returns the Operating System running TAO as a String. * * The returned value can be AFAIK: * * * 'WINNT' (Win XP, Windows NT, ...) * * 'Linux' * * 'FreeBSD' * * 'Darwin' (Mac OS X) * * 'CYGWIN_NT-5.1' * * 'HP-UX' * * 'IRIX64' * * 'NetBSD' * * 'OpenBSD' * * 'SunOS' * * 'Unix' * * 'WIN32' * * 'Windows' * * @author Joel Bout, * @deprecated use SystemHelper::getOperatingSystem * @return string The operating system that runs the script. */ public static function getOperatingSystem() { return SystemHelper::getOperatingSystem(); } }