Skip to content

Commit e6a8be9

Browse files
committed
style: ajuste screen media
1 parent d399b3c commit e6a8be9

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

source/Boot/Helpers.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -306,13 +306,13 @@ function session(): Session
306306
function url(string $path = null): string
307307
{
308308

309-
if(strpos($_SERVER['HTTP_HOST'], "localhost") == "localhost" ? false:true){
310-
311-
if($path){
312-
return CONF_URL_TEST . "/" . ($path[0] == "/" ? mb_substr($path, 1) : $path);
313-
}
314-
return CONF_URL_TEST;
315-
}
309+
// if(strpos($_SERVER['HTTP_HOST'], "localhost") == "localhost" ? false:true){
310+
//
311+
// if($path){
312+
// return CONF_URL_TEST . "/" . ($path[0] == "/" ? mb_substr($path, 1) : $path);
313+
// }
314+
// return CONF_URL_TEST;
315+
// }
316316

317317
if($path){
318318

@@ -377,13 +377,13 @@ function user(): ?User
377377
*/
378378
function theme(string $path = null, string $theme = CONF_VIEW_THEME): string
379379
{
380-
if(strpos($_SERVER['HTTP_HOST'], "localhost") == "localhost" ? false:true){
381-
if($path){
382-
return CONF_URL_TEST . "/themes/{$theme}/" . ($path[0] == "/" ? mb_substr($path, 1) : $path);
383-
384-
}
385-
return CONF_URL_TEST . "/themes/{$theme}/";
386-
}
380+
// if(strpos($_SERVER['HTTP_HOST'], "localhost") == "localhost" ? false:true){
381+
// if($path){
382+
// return CONF_URL_TEST . "/themes/{$theme}/" . ($path[0] == "/" ? mb_substr($path, 1) : $path);
383+
//
384+
// }
385+
// return CONF_URL_TEST . "/themes/{$theme}/";
386+
// }
387387

388388
if($path){
389389
return CONF_URL_BASE . "/themes/{$theme}/" . ($path[0] == "/" ? mb_substr($path, 1) : $path);

source/Core/Connect.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ class Connect
88
{
99
/** --------- DATA LOCALHOST ----------*/
1010
private const HOST = "localhost";
11-
private const USER = "root";
11+
private const USER = "u994951933_menudig";
1212
private const DBNAME = "u994951933_menudig";
13-
private const PASSWORD = "";
13+
private const PASSWORD = "@OdIW9?+W#9";
1414

1515
private const OPTIONS = [
1616
PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8",

0 commit comments

Comments
 (0)