PHP Classes

File: examples/autoload.php

Recommend this page to a friend!
  Classes of Tufan Baris YILDIRIM   Apk Parser   examples/autoload.php   Download  
File: examples/autoload.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Apk Parser
Extract Application Package files in APK format
Author: By
Last change: License (c)
Date: 8 years ago
Size: 538 bytes


Class file image Download

 * This file is part of the Apk Parser package.
 * (c) Tufan Baris Yildirim <>
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.

spl_autoload_register(function ($className) {
// Fix for OSX and *nix
$className = str_replace('\\', DIRECTORY_SEPARATOR, $className);
dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'lib' . DIRECTORY_SEPARATOR . $className . ".php");