mirror of
https://github.com/kvazar-network/webapp.git
synced 2025-02-03 18:54:29 +00:00
fix relative paths
This commit is contained in:
parent
9d686893de
commit
7da2caca92
@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once('../config.php');
|
require_once(__DIR__ . '/../config.php');
|
||||||
require_once('../library/icon.php');
|
require_once(__DIR__ . '/../library/icon.php');
|
||||||
require_once('../library/sqlite.php');
|
require_once(__DIR__ . '/../library/sqlite.php');
|
||||||
|
|
||||||
$query = isset($_GET['q']) ? preg_replace('/[^\w\s]+/u', '', urldecode($_GET['q'])) : '';
|
$query = isset($_GET['q']) ? preg_replace('/[^\w\s]+/u', '', urldecode($_GET['q'])) : '';
|
||||||
$ns = '';
|
$ns = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user