Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (10 sloc) 0.584 kb
There is a small b/c break with PAGI < 1.9.0.
PAGIApplication used to get an agi client by itself. Since 1.9.0 you have
to pass it in the option arguments, like:
$clientOptions = array('' => '/etc/');
$client = PAGI\Client\Impl\ClientImpl::getInstance($clientOptions);
$app = new MyPAGIApplication(array('pagiClient' => $client));
In this way, you can use your pagi application with any agi client (i.e: AsyncAgi
from pami).
If you are using the PAGILauncher, it is updated to work this way.
See docs/examples/quickstart for the full example.
Jump to Line
Something went wrong with that request. Please try again.