summaryrefslogtreecommitdiffhomepage
path: root/test/php/open/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'test/php/open/index.php')
-rw-r--r--test/php/open/index.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/php/open/index.php b/test/php/open/index.php
new file mode 100644
index 00000000..a5bebc54
--- /dev/null
+++ b/test/php/open/index.php
@@ -0,0 +1,7 @@
+<?php
+if (isset($_GET['chdir'])) {
+ chdir($_GET['chdir']);
+}
+
+echo file_get_contents('test.txt');
+?>