Commit c16494a4 authored by Alex Ne's avatar Alex Ne

Включение использования NAMESPACE

parent 823a2aa0
<?php
if (!defined('DS')) define('DS', DIRECTORY_SEPARATOR);
spl_autoload_register(
function ($className) {
function ($className)
{
$className = str_replace("\\", "_", $className);
$classPath = explode('_', $className);
if ( array_shift( $classPath ) != 'X') return;
if ( ctype_digit( end( $classPath ) ) ) $V = "_" . array_pop($classPath); else $V = ""; // Version Control
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment