CS
This commit is contained in:
parent
d7cce43d8f
commit
bec5a21522
@ -2,21 +2,11 @@
|
|||||||
|
|
||||||
namespace Predis;
|
namespace Predis;
|
||||||
|
|
||||||
/*
|
|
||||||
* This file is part of the Predis package.
|
|
||||||
*
|
|
||||||
* (c) Daniele Alessandri <suppakilla@gmail.com>
|
|
||||||
*
|
|
||||||
* For the full copyright and license information, please view the LICENSE
|
|
||||||
* file that was distributed with this source code.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Autoloader
|
* Autoloader
|
||||||
*/
|
*/
|
||||||
function predisAutoload($className)
|
function predisAutoload($className)
|
||||||
{
|
{
|
||||||
|
|
||||||
$prefix = __NAMESPACE__ . '\\';
|
$prefix = __NAMESPACE__ . '\\';
|
||||||
$prefixLength = strlen($prefix);
|
$prefixLength = strlen($prefix);
|
||||||
if (0 === strpos($className, $prefix))
|
if (0 === strpos($className, $prefix))
|
||||||
|
Loading…
Reference in New Issue
Block a user