View file vkclone-0.0.1/protected/config/gearman/components.php
<?php return array( 'worker' => array( 'class' => 'WorkerDaemon', 'servers' => array('127.0.0.1'), ), 'router' => array( 'class' => 'WorkerRouter', 'routes' => array( 'gallery.saveImage' => array('application.workers.Gallery', 'saveImage'), 'gallery.deleteFiles' => array('application.workers.Gallery', 'deleteFiles'), ), ), );