move public files into public directory

This commit is contained in:
Simon Vieille 2020-10-31 20:52:13 +01:00
parent e1384e2272
commit 554889a657
Signed by: deblan
GPG key ID: 03383D15A1D31745
13 changed files with 13 additions and 13 deletions

View file

@ -1,10 +0,0 @@
<?php
require __DIR__.'/etc/config.php';
require __DIR__.'/etc/database.php';
$_ = [
'persons' => $persons,
];
require __DIR__.'/template/links.php';

View file

Before

Width:  |  Height:  |  Size: 140 KiB

After

Width:  |  Height:  |  Size: 140 KiB

View file

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View file

Before

Width:  |  Height:  |  Size: 3.1 MiB

After

Width:  |  Height:  |  Size: 3.1 MiB

View file

@ -1,7 +1,7 @@
<?php
require __DIR__.'/etc/config.php';
require __DIR__.'/etc/database.php';
require __DIR__.'/../etc/config.php';
require __DIR__.'/../etc/database.php';
$_ = [
'canPlay' => false,
@ -55,4 +55,4 @@ if ($_['player']) {
}
}
require __DIR__.'/template/index.php';
require __DIR__.'/../template/index.php';

10
public/links.php Normal file
View file

@ -0,0 +1,10 @@
<?php
require __DIR__.'/../etc/config.php';
require __DIR__.'/../etc/database.php';
$_ = [
'persons' => $persons,
];
require __DIR__.'/../template/links.php';