Skip to content

Instantly share code, notes, and snippets.

@cygnetix
Last active August 29, 2015 14:12
Show Gist options
  • Save cygnetix/ce7ee3134d418f4fd5ea to your computer and use it in GitHub Desktop.
Save cygnetix/ce7ee3134d418f4fd5ea to your computer and use it in GitHub Desktop.
/etc/ykval/ykval-config.php
<?php
$baseParams = array ();
$baseParams['__YKVAL_DB_DSN__'] = "mysql:dbname=ykval;host=localhost";
$baseParams['__YKVAL_DB_USER__'] = 'ykval_verifier';
$baseParams['__YKVAL_DB_PW__'] = 'secret';
$baseParams['__YKVAL_DB_OPTIONS__'] = array();
function otp2ksmurls ($otp, $client) {
return array("http://localhost/wsapi/decrypt?otp=$otp");
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment