Skip to content

Commit 70b7270

Browse files
committed
Added the PHP script to call the shell script
1 parent dc2e8fb commit 70b7270

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

index.php

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
3+
$host = shell_exec("sh spin_drupal.sh 172.17.42.1 49153 80 172.17.42.1");
4+
5+
$host = substr($host, 0, 12);
6+
$host = $host . ".trydrupal8.dev";
7+
8+
echo "<a href='http://$host:8081'>$host</a>";
9+

0 commit comments

Comments
 (0)