devportal
Last change
on this file since b1a751e was
6460441,
checked in by Angelo Osorio <danielking.321@…>, 5 years ago
|
urls issue
|
-
Property mode set to
100644
|
File size:
488 bytes
|
Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | /** |
---|
4 | * Retorna la url relativa del host dependiendo de si es el index o no |
---|
5 | * @author Ing. Angelo Osorio (danielking.321@gmail.com) |
---|
6 | * @licence CENDITEL |
---|
7 | */ |
---|
8 | function returnURL() { |
---|
9 | // Desarrollo |
---|
10 | // if ($_SERVER['REQUEST_URI'] == "/murachi/portal/index.php" || $_SERVER['REQUEST_URI'] == "/murachi/portal/") { |
---|
11 | // Producción |
---|
12 | if ($_SERVER['REQUEST_URI'] == "/index.php" || $_SERVER['REQUEST_URI'] == "/") { |
---|
13 | echo "."; |
---|
14 | } else { |
---|
15 | echo ".."; |
---|
16 | } |
---|
17 | } |
---|
18 | |
---|
19 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.