Created
October 10, 2015 19:18
-
-
Save rafops/ee7f476de7e5e9c10db4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/index.php b/index.php | |
index 882b597..213ef3c 100644 | |
--- a/index.php | |
+++ b/index.php | |
@@ -1 +1,5 @@ | |
-<?php echo phpinfo(); | |
+<?php | |
+ | |
+include "./lib/mylib.php"; | |
+ | |
+echo_phpinfo(); | |
diff --git a/lib/mylib.php b/lib/mylib.php | |
new file mode 100644 | |
index 0000000..03df32f | |
--- /dev/null | |
+++ b/lib/mylib.php | |
@@ -0,0 +1,5 @@ | |
+<?php | |
+ | |
+function echo_phpinfo() { | |
+ echo phpinfo(); | |
+} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment