move public files into public directory
This commit is contained in:
parent
e1384e2272
commit
554889a657
10
links.php
10
links.php
|
@ -1,10 +0,0 @@
|
|||
<?php
|
||||
|
||||
require __DIR__.'/etc/config.php';
|
||||
require __DIR__.'/etc/database.php';
|
||||
|
||||
$_ = [
|
||||
'persons' => $persons,
|
||||
];
|
||||
|
||||
require __DIR__.'/template/links.php';
|
Before Width: | Height: | Size: 140 KiB After Width: | Height: | Size: 140 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 3.1 MiB After Width: | Height: | Size: 3.1 MiB |
|
@ -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
10
public/links.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
require __DIR__.'/../etc/config.php';
|
||||
require __DIR__.'/../etc/database.php';
|
||||
|
||||
$_ = [
|
||||
'persons' => $persons,
|
||||
];
|
||||
|
||||
require __DIR__.'/../template/links.php';
|
Loading…
Reference in a new issue