fix url parser path

This commit is contained in:
ghost 2023-08-07 14:14:12 +03:00
parent f8845c620f
commit ab0391e29e
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,6 @@
<?php
require_once(__DIR__ . '/../library/robots.php');
require_once __DIR__ . '/../../vendor/autoload.php';
class Helper {

View File

@ -6,6 +6,7 @@ require_once(__DIR__ . '/../library/filter.php');
require_once(__DIR__ . '/../library/mysql.php');
require_once(__DIR__ . '/../library/helper.php');
require_once(__DIR__ . '/../library/sphinxql.php');
require_once __DIR__ . '/../../vendor/autoload.php';
// Connect Sphinx search server
try {
@ -69,7 +70,7 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the
$alertMessages = [];
// Register new host/page on search request contains the link
if (URL::is($q)) {
if (Yggverse\Parser\Url::is($q)) {
try {