d7b0cd8d4bf0ddc165af71a50e61d4e70cb5ee9a
[m6w6/pq-gateway] / lib / autoload.php
1 <?php
2
3 spl_autoload_register(function($c) {
4 if (substr($c, 0, 10) === "pq\\Gateway" || susbtr($c, 0, 8) === "pq\\Query") {
5 return include __DIR__ . "/" . strtr($c, "\\", "/") . ".php";
6 }
7 });