diff --git a/src/autoload.php b/src/autoload.php index 96a13a3..b6da6c9 100644 --- a/src/autoload.php +++ b/src/autoload.php @@ -60,11 +60,6 @@ function autoload( $directory ) { continue; } - // Don't load any files that are not the proper mime type - if ( 'text/x-php' !== mime_content_type( $real_path ) ) { - continue; - } - $filesize = filesize( $real_path ); // Don't include empty or negative sized files if ( $filesize <= 0 ) { @@ -105,4 +100,4 @@ function autoload( $directory ) { require_once( $real_path ); } } -} \ No newline at end of file +}