summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--php.html.markdown7
1 files changed, 7 insertions, 0 deletions
diff --git a/php.html.markdown b/php.html.markdown
index 0504ced2..06a289f4 100644
--- a/php.html.markdown
+++ b/php.html.markdown
@@ -765,6 +765,13 @@ I'm a ParentClass
But I'm ChildClass
*/
+/**********************
+* Magic constants
+*
+*/
+
+// Get directory of the file
+require __DIR__ . '/vendor/autoload.php';
/**********************
* Error Handling