mirror of https://github.com/ShaYmez/xlxd.git
Allows alphanumeric names for the reflector
This commit is contained in:
parent
effd58b296
commit
8d7cb4b605
|
@ -43,10 +43,11 @@ class xReflector {
|
|||
fclose($handle);
|
||||
|
||||
$this->ServiceName = substr($this->XMLContent, strpos($this->XMLContent, "<XLX")+4, 3);
|
||||
if (!is_numeric($this->ServiceName)) {
|
||||
$this->ServiceName = null;
|
||||
return false;
|
||||
}
|
||||
# XLX alphanumeric naming... By commenting the following four lines, it is possible to use an alphanumeric name for the reflector (eg: XLXABC)
|
||||
# if (!is_numeric($this->ServiceName)) {
|
||||
# $this->ServiceName = null;
|
||||
# return false;
|
||||
# }
|
||||
|
||||
$this->ReflectorName = "XLX".$this->ServiceName;
|
||||
|
||||
|
|
Loading…
Reference in New Issue