Revize 6970ac8e
Přidáno uživatelem Ondřej Fibich před asi 5 roky(ů)
application/models/config.php | ||
---|---|---|
from config
|
||
where name = ?
|
||
", $name);
|
||
|
||
return (!is_null($result) && count($result)) ? $result[0]->value : '';
|
||
}
|
||
catch (Kohana_Database_Exception $e)
|
||
{
|
||
$result = NULL;
|
||
return '';
|
||
}
|
||
|
||
return (count($result)) ? $result[0]->value : '';
|
||
}
|
||
|
||
/**
|
Také k dispozici: Unified diff
Issue #1117: Support for Debian buster