PHP Classes

File: Example/_autoload.php

Recommend this page to a friend!
  Classes of Pierre-Henry Soria   PHP Markdown and BBCode Parser   Example/_autoload.php   Download  
File: Example/_autoload.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Markdown and BBCode Parser
Parse and replace Markdown and BBCode by HTML
Author: By
Last change: Update of Example/_autoload.php
Date: 1 month ago
Size: 757 bytes


Class file image Download
 * @title Classes loader
 * @author Pierre-Henry Soria <>
 * @copyright (c) 2012-2013, Pierre-Henry Soria. All Rights Reserved.
 * @license Lesser General Public License; See LICENSE.txt in the root directory.
 * @link
 * @package PH7
 * @version 1.0

namespace PH7;
defined('PH7') or exit('Restricted access');

// Autoloading Classes Files
// Hack to remove namespace and backslash
$sClass = str_replace(array(__NAMESPACE__ . '\\', '\\'), '/', $sClass);

is_file(dirname(__DIR__) . $sClass . '.class.php'))
dirname(__DIR__) . $sClass . '.class.php';