2012-01-02 50 views

回答

0

究竟你說 - 你必須定義具有手動自動載入登記ProjectConfiguration類,因爲ProjectConfiguration運行前:

<?php 

require_once dirname(__FILE__) . ''.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'lib'.DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR.'symfony'.DIRECTORY_SEPARATOR.'autoload'.DIRECTORY_SEPARATOR.'sfCoreAutoload.class.php'; 
sfCoreAutoload::register(); 

class ProjectConfiguration extends sfProjectConfiguration { 

我已經用symfony在供應商的路徑internaly克隆設置我的項目,改變你的路徑如何需要。