Browse Source

add space separator

pull/8/head
d47081 2 years ago
parent
commit
2d109cb9f6
  1. 2
      public/index.php

2
public/index.php

@ -4,7 +4,7 @@ require_once('../config.php');
require_once('../library/icon.php'); require_once('../library/icon.php');
require_once('../library/sqlite.php'); require_once('../library/sqlite.php');
$query = isset($_GET['q']) ? preg_replace('/[\W\D\S]+/', '', $_GET['q']) : false; $query = isset($_GET['q']) ? preg_replace('/[\W\D\S]+/', '', $_GET['q']) : false;
$ns = isset($_GET['ns']) ? preg_replace('/[^a-zA-Z0-9]+/', '', $_GET['ns']) : false; $ns = isset($_GET['ns']) ? preg_replace('/[^a-zA-Z0-9]+/', '', $_GET['ns']) : false;
$tx = isset($_GET['tx']) ? preg_replace('/[^a-zA-Z0-9]+/', '', $_GET['tx']) : false; $tx = isset($_GET['tx']) ? preg_replace('/[^a-zA-Z0-9]+/', '', $_GET['tx']) : false;
$page = (int) isset($_GET['page']) ? $_GET['page'] : 0; $page = (int) isset($_GET['page']) ? $_GET['page'] : 0;

Loading…
Cancel
Save