Use autoloader for Patchwork/PHP/Shim/Normalizer
This commit is contained in:
parent
d673d8c253
commit
7d86e262e1
|
@ -370,6 +370,7 @@ class OC {
|
|||
self::$loader->registerPrefix('Symfony\\Component\\Routing', 'symfony/routing');
|
||||
self::$loader->registerPrefix('Sabre\\VObject', '3rdparty');
|
||||
self::$loader->registerPrefix('Sabre_', '3rdparty');
|
||||
self::$loader->registerPrefix('Patchwork', '3rdparty');
|
||||
spl_autoload_register(array(self::$loader, 'load'));
|
||||
|
||||
// set some stuff
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
<?php
|
||||
|
||||
require_once 'Patchwork/PHP/Shim/Normalizer.php';
|
||||
|
||||
/**
|
||||
* Class for utility functions
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue