Revize 7dafd607
Přidáno uživatelem Michal Kliment před více než 9 roky(ů)
application/controllers/settings.php | ||
---|---|---|
try
|
||
{
|
||
// creates helper functions
|
||
$voip_sip->create_functions();
|
||
Voip_sip_Model::create_functions();
|
||
// create views
|
||
$voip_sip->create_views();
|
||
Voip_sip_Model::create_views();
|
||
}
|
||
catch (Exception $e)
|
||
{
|
||
... | ... | |
{
|
||
self::error(PAGE);
|
||
}
|
||
|
||
$value = $input->value;
|
||
|
||
// do not check empty
|
||
if (empty($value)) {
|
||
return;
|
||
}
|
||
|
||
// parse interval to array of VoIP numbers
|
||
$numbers = explode(';', $input->value);
|
||
$numbers = explode(';', $value);
|
||
// check if count of numbers is smaller or longer than 2
|
||
// (123456789, 987654321; NOT 123456,654321,987654)
|
||
|
Také k dispozici: Unified diff
Release 1.1.12