Browse Source

fix relative paths

pull/9/head
ghost 1 year ago
parent
commit
7da2caca92
  1. 6
      public/index.php

6
public/index.php

@ -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…
Cancel
Save