projects
/
m6w6
/
pq-gateway
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
fix eol
[m6w6/pq-gateway]
/
lib
/
autoload.php
1
<
?php
2
3
spl_autoload_register
(
function
(
$c
) {
4
if
(
substr
(
$c
,
0
,
11
) ===
"pq
\\
Gateway
\\
"
||
substr
(
$c
,
0
,
9
) ===
"pq
\\
Query
\\
"
||
substr
(
$c
,
0
,
10
) ===
"pq
\\
Mapper
\\
"
) {
5
return include
__DIR__
.
"/"
.
strtr
(
$c
,
"
\\
"
,
"/"
) .
".php"
;
6
}
7
});