Skip to content

Commit

Permalink
Revert "Fixed autoload"
Browse files Browse the repository at this point in the history
This reverts commit b4ad7bb.
  • Loading branch information
andot committed May 15, 2015
1 parent ca59109 commit ad0d09d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Hprose.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
\**********************************************************/

spl_autoload_register(function($className) {
if (!class_exists($className)) {
include(str_replace("\\", "/", $className) . ".php");
}
include(str_replace("\\", "/", $className) . ".php");
});

if (!function_exists('hprose_serialize')) {
Expand Down

0 comments on commit ad0d09d

Please sign in to comment.