File checker worker named Chopin

This commit is contained in:
magnolia-fan
2011-04-03 02:18:55 +04:00
parent 3adb618f3f
commit 56fa00b6ef
2 changed files with 87 additions and 2 deletions
+4 -2
View File
@@ -24,8 +24,10 @@ class Vkontakte {
private $_bot_info; // Информация о боте
public function __construct($bot_name) {
$this->_bot_info = Config::get('bot:'. $bot_name);
public function __construct($bot_name = false) {
if ($bot_name) {
$this->_bot_info = Config::get('bot:'. $bot_name);
}
}
/**