projects
/
m6w6
/
atick
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
autoload
[m6w6/atick]
/
lib
/
autoload.php
diff --git a/lib/autoload.php
b/lib/autoload.php
new file mode 100644
(file)
index 0000000..
069564f
--- /dev/null
+++ b/
lib/autoload.php
@@ -0,0
+1,7
@@
+<?php
+
+spl_autoload_register(function($c) {
+ if (substr($c, 0, 6) === "atick\\") {
+ return include_once __DIR__ . "/" . strtr($c, "\\", "/") . ".php";
+ }
+});