mirror of
https://codeberg.org/vegvisir/website.git
synced 2025-09-13 16:33:42 +02:00
First (rushed 😦) release of the Vegvisir website. Reviewed-on: https://codeberg.org/vegvisir/website/pulls/1 Co-authored-by: vlw <victor@vlw.se> Co-committed-by: vlw <victor@vlw.se>
11 lines
No EOL
218 B
PHP
11 lines
No EOL
218 B
PHP
// File: /var/www/my-website/public/index.php
|
|
|
|
<?php
|
|
|
|
use MyWebsite\Src\MyClass;
|
|
|
|
// Leading slash is optional!
|
|
require_once VV::root("/src/MyClass.php");
|
|
|
|
?>
|
|
<p>A normal Vegvisir page whch has access to MyClass</p>
|