Skip to content

Commit

Permalink
Beta release
Browse files Browse the repository at this point in the history
Modified readme file to use conventional autoload.php
  • Loading branch information
andrevanzuydam committed Jul 28, 2019
1 parent aa759b2 commit db0ce35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ Once you have mastered these basics you should be able to create an simple stati
<?php
//Define some folders where we want templates
define ("TINA4_TEMPLATE_LOCATIONS", ["templates", "assets", "templates/snippets"]);
require "vendor/andrevanzuydam/tina4php/engine.php";
require "vendor/autoload.php";
echo new Tina4/Tina4PHP();
```
- In your templates folder create a file index.html and insert the following code
```html
Expand Down

0 comments on commit db0ce35

Please sign in to comment.