lgromero-new-oglive
Last change
on this file was
b6ec162,
checked in by Ramón M. Gómez <ramongomez@…>, 6 years ago
|
#834: Remove all redundant PHP closing tags.
|
-
Property mode set to
100644
|
File size:
501 bytes
|
Line | |
---|
1 | <?php |
---|
2 | /** |
---|
3 | * Sincroniza una base de datos externa con la de opengnsys. |
---|
4 | * No es necesaria su implementacion, puede dejarse en blanco |
---|
5 | */ |
---|
6 | function synchronize($validation){ |
---|
7 | |
---|
8 | } |
---|
9 | |
---|
10 | |
---|
11 | /** |
---|
12 | * Funcion de validacion para el cliente opengnsys. |
---|
13 | * Recibe como parametros la variable $_POST proveniente de la pagina de login |
---|
14 | * debe devolver true o false |
---|
15 | */ |
---|
16 | function validate($VARS){ |
---|
17 | $result = false; |
---|
18 | if($VARS["login"] == "usuprueba" && $VARS["password"] == "prueba"){ |
---|
19 | $result = true; |
---|
20 | } |
---|
21 | return $result; |
---|
22 | } |
---|
23 | |
---|
24 | |
---|
Note: See
TracBrowser
for help on using the repository browser.