Skip to content

Commit

Permalink
Ajuste
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorMonterisi committed Dec 27, 2023
1 parent 46ff13c commit b2d47b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions api/includes/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<div class="btn-idioma">

<?php
if($_SERVER['REQUEST_URI'] == '/meu-cv/api/index.php') {
if($_SERVER['REQUEST_URI'] == '/api/index.php') {
$url_idioma = "{$url}api/index-eng.php";
$img_idioma = "{$url}assets/img/usa.png";
$title = 'ENG';
$txt = 'Click to translate';
} else if ($_SERVER['REQUEST_URI'] == '/meu-cv/api/index-eng.php') {
} else if ($_SERVER['REQUEST_URI'] == '/api/index-eng.php') {
$url_idioma = "{$url}api/index.php";
$img_idioma = "{$url}assets/img/br.png";
$title = 'PT-BR';
Expand Down
2 changes: 0 additions & 2 deletions api/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
include "includes/base-de-dados.php";
include "includes/calculador-idade.php";
include "includes/head.php";

$teste = $_SERVER['REQUEST_URI'];
?>
</head>

Expand Down

1 comment on commit b2d47b2

@vercel
Copy link

@vercel vercel bot commented on b2d47b2 Dec 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

meu-cv – ./

meu-cv-git-main-victor-monterisi.vercel.app
meu-cv.vercel.app
meu-cv-victor-monterisi.vercel.app

Please sign in to comment.