#!/usr/bin/env php * @copyright 2008-2010 Phergie Development Team (http://phergie.org) * @license http://phergie.org/license New BSD License * @link http://pear.phergie.org/package/Phergie */ /** * @see Phergie_Autoload */ require 'Phergie/Autoload.php'; Phergie_Autoload::registerAutoloader(); $bot = new Phergie_Bot; if ($argc > 0) { $config = new Phergie_Config; foreach ($argv as $file) { $config->read($file); } $bot->setConfig($config); } $bot->run();