projects
/
m6w6
/
pq-gateway
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
storage enhancements
[m6w6/pq-gateway]
/
lib
/
autoload.php
diff --git
a/lib/autoload.php
b/lib/autoload.php
index d7b0cd8d4bf0ddc165af71a50e61d4e70cb5ee9a..e45fd2c81c3f3b711ca69c7cf8630be7a3cef99f 100644
(file)
--- a/
lib/autoload.php
+++ b/
lib/autoload.php
@@
-1,7
+1,7
@@
<?php
spl_autoload_register(function($c) {
<?php
spl_autoload_register(function($c) {
- if (substr($c, 0, 1
0) === "pq\\Gateway" || susbtr($c, 0, 8) === "pq\\Query
") {
+ if (substr($c, 0, 1
1) === "pq\\Gateway\\" || substr($c, 0, 9) === "pq\\Query\\" || substr($c, 0, 10) === "pq\\Mapper\\
") {
return include __DIR__ . "/" . strtr($c, "\\", "/") . ".php";
}
});
return include __DIR__ . "/" . strtr($c, "\\", "/") . ".php";
}
});