コード例 #1
0
<?php

require_once '/home/diem/dmCorePlugin/lib/core/dm.php';
dm::start();
class ProjectConfiguration extends dmProjectConfiguration
{
    public function setup()
    {
        parent::setup();
        $this->enablePlugins(array('sfShoppingCartPlugin'));
        $this->setWebDir(sfConfig::get('sf_root_dir') . '/web');
    }
}