asdasd
This commit is contained in:
@@ -11,6 +11,18 @@ class Config
|
||||
) {
|
||||
}
|
||||
|
||||
public function primaryUrl(): string
|
||||
{
|
||||
if (defined('APP_URL_PRIMARY') && APP_URL_PRIMARY !== '') {
|
||||
return APP_URL_PRIMARY;
|
||||
}
|
||||
$domain = $this->cookieDomain();
|
||||
if ($domain) {
|
||||
return 'https://' . $domain;
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
public function cookiePrefix(): string
|
||||
{
|
||||
if (defined('APP_PREFIX') && APP_PREFIX !== '') {
|
||||
|
||||
Reference in New Issue
Block a user