PHP Classes

File: loader.finfo.php

Recommend this page to a friend!
  Classes of Uku-Kaarel Jo~esaar   finfo   loader.finfo.php   Download  
File: loader.finfo.php
Role: Auxiliary script
Content type: text/plain
Description: loads finfo class if needed
Class: finfo
Determine the type of files analyzing its contents
Author: By
Last change:
Date: 12 years ago
Size: 165 bytes
 

Contents

Class file image Download
<?php

if(!class_exists('finfo')) {
   
define('BASEDIR', pathinfo( __FILE__,PATHINFO_DIRNAME ).DIRECTORY_SEPARATOR );
    require_once(
BASEDIR.'class.finfo.php');
}