Skip to content

Commit ca9f291

Browse files
committed
Add example
1 parent 995868e commit ca9f291

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

web/public/index.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
<!DOCTYPE html>
1+
<?php
2+
3+
include '../app/vendor/autoload.php';
4+
$foo = new App\Acme\Foo();
5+
6+
?><!DOCTYPE html>
27
<html>
38
<head>
49
<meta charset="utf-8">
5-
<title>Docker Nginx PHP MySQL</title>
10+
<title>Docker <?php echo $foo->getName(); ?></title>
611
</head>
712
<body>
8-
<h1>Docker Nginx PHP MySQL</h1>
13+
<h1>Docker <?php echo $foo->getName(); ?></h1>
914
</body>
1015
</html>

0 commit comments

Comments
 (0)