source: admin/WebConsole/validacion/html/validacion_prueba.php @ e3b1b1e

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacion
Last change on this file since e3b1b1e 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 */
6function 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 */
16function 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.