Your ROOT_URL in app.ini is https://code.exacti.com.br/ but you are visiting https://git.exacti.com.br/ExacTI/phacil-framework/blame/commit/6dd28e0f05b7b16e1e669b9af459193c3bce3e96/system/engine/interfaces/url.php You should set ROOT_URL correctly, otherwise the web may not work correctly.
A super easy PHP Framework for web development! https://github.com/exacti/phacil-framework

43 lines
770 B

<?php
/*
* Copyright © 2024 ExacTI Technology Solutions. All rights reserved.
* GPLv3 General License.
* https://exacti.com.br
* Phacil PHP Framework - https://github.com/exacti/phacil-framework
*/
namespace Phacil\Framework\Interfaces;
interface Url
{
const NONSSL = 'NONSSL';
/**
* @param string $url
* @param string $ssl
* @return void
*/
public function __construct($url, $ssl);
/**
* @param string $route
* @param string $args
* @param string $connection
* @return string
*/
public function link($route, $args = '', $connection = self::NONSSL);
/**
* @param string $hook
* @return void
*/
public function addRewrite($hook);
/**
* @param string $url
* @return string
*/
public function rewrite($url);
}