mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-01-20 10:52:15 +01:00
Simplify more.
This commit is contained in:
parent
26e4c45800
commit
e9d86a6125
@ -4,9 +4,7 @@
|
|||||||
set_include_path(get_include_path() . PATH_SEPARATOR .
|
set_include_path(get_include_path() . PATH_SEPARATOR .
|
||||||
"/etc/ykval:/usr/share/ykval");
|
"/etc/ykval:/usr/share/ykval");
|
||||||
|
|
||||||
require_once 'ykval-synclib.php';
|
|
||||||
require_once 'ykval-config.php';
|
require_once 'ykval-config.php';
|
||||||
require_once 'ykval-log.php';
|
|
||||||
|
|
||||||
function url2shortname ($url) {
|
function url2shortname ($url) {
|
||||||
if (preg_match("/^[^\/]+\/\/([a-z0-9-]+)/", $url, $name)==0){
|
if (preg_match("/^[^\/]+\/\/([a-z0-9-]+)/", $url, $name)==0){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user