0
我期待在靜態對象的zend框架內創建我自己的yaml文件。我不想替換application.ini文件。在zend框架中使用yaml
我加入裏面CONFIGS以下文件
應用/ reports.yaml
reportInfo:
team_a:
some_var: some_var
some_var_1: some_var1
team_b:
some_var: some_var
some_var_1: some_var1
如何獲得reportInfo的價值裏面說的指數控制器?
$reportInfo = Zend_Get_YAML ('configs/reports.yaml') // or something similar this is a guess
print_r($reportInfo);
它說,它無法找到yaml.php文件? –