Browse code

Created repository.

DoubleBastionAdmin authored on 01/03/2022 23:31:10
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,10 @@
1
+<?php
2
+
3
+/**
4
+ * Simple autoloader for examples.
5
+ * Use a proper PSR-0 autoloader implementation in production.
6
+ */
7
+function __autoload($class)
8
+{
9
+    require __DIR__ . '/../lib/' . str_replace('\\', DIRECTORY_SEPARATOR, $class) . '.php';
10
+}