mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-03-12 21:31:19 +00:00
fix url parser path
This commit is contained in:
parent
f8845c620f
commit
ab0391e29e
@ -1,7 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once(__DIR__ . '/../library/robots.php');
|
require_once(__DIR__ . '/../library/robots.php');
|
||||||
|
|
||||||
require_once __DIR__ . '/../../vendor/autoload.php';
|
require_once __DIR__ . '/../../vendor/autoload.php';
|
||||||
|
|
||||||
class Helper {
|
class Helper {
|
||||||
|
@ -6,6 +6,7 @@ require_once(__DIR__ . '/../library/filter.php');
|
|||||||
require_once(__DIR__ . '/../library/mysql.php');
|
require_once(__DIR__ . '/../library/mysql.php');
|
||||||
require_once(__DIR__ . '/../library/helper.php');
|
require_once(__DIR__ . '/../library/helper.php');
|
||||||
require_once(__DIR__ . '/../library/sphinxql.php');
|
require_once(__DIR__ . '/../library/sphinxql.php');
|
||||||
|
require_once __DIR__ . '/../../vendor/autoload.php';
|
||||||
|
|
||||||
// Connect Sphinx search server
|
// Connect Sphinx search server
|
||||||
try {
|
try {
|
||||||
@ -69,7 +70,7 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the
|
|||||||
$alertMessages = [];
|
$alertMessages = [];
|
||||||
|
|
||||||
// Register new host/page on search request contains the link
|
// Register new host/page on search request contains the link
|
||||||
if (URL::is($q)) {
|
if (Yggverse\Parser\Url::is($q)) {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user