summaryrefslogtreecommitdiffhomepage
path: root/php.html.markdown
diff options
context:
space:
mode:
authorRudy Affandi <rudy@adnetinc.com>2015-10-31 10:54:55 -0700
committerRudy Affandi <rudy@adnetinc.com>2015-10-31 10:54:55 -0700
commitdb690c17c5335b746e3e7867e3d7cf5aab724a9a (patch)
tree6561e586b456c60ef31eaa58e8fa97f234083ea5 /php.html.markdown
parent5b0db44e7c5f0a69dfa670eee13fbc011f76830a (diff)
Add PHP magic constants entry
Diffstat (limited to 'php.html.markdown')
-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