close
Warning:
Failed to sync with repository "ogBrowser-Git": (1366, "Incorrect string value: '\\xF0\\x9F\\x93\\xA6 I...' for column 'message' at row 1"); repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
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-instalacionwebconsole3
| 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.