<?php
/**
 * Plugin configuration file. You can customize folders and
 * some other optons here.
 *
 * @package xdDojoPlugin
 * @subpackage config
 * @author Patrick Knut Leberecht <patrick.knut.leberecht@gmail.com>
 * @version 1.5
 */

class xdDojoPluginConfiguration extends sfPluginConfiguration
{
  /**
   * Configures the plugin.
   *
   * This method is called before the plugin's classes have been added to sfAutoload.
   */
  public function configure()
  {
    $sf_web_dir = sfConfig::get('sf_web_dir');

    $parameters = array(
      'xd_dojo_path' => '/js/dojo/app',
      'xd_dojo_cdn_aol_base' => 'http://o.aolcdn.com/dojo/',
      'xd_dojo_cdn_aol_path' => '/dojo/dojo.xd.js',
      'xd_dojo_cdn_google_base' => 'http://ajax.googleapis.com/ajax/libs/dojo/',
      'xd_dojo_cdn_google_path' => '/dojo/dojo.xd.js'
    );

    sfConfig::add($parameters);
  }
}