1
喜的朋友,我知道如何在Kohana的3.0讀取配置文件 我的代碼是讀取配置文件3.2
$config_file = Kohana::config('ratna');
$value = $config_file['name'];
這裏ratna
是config file
像下面
<?php defined('SYSPATH') or die('No direct script access.');
return array(
'name' => 'Clarence Ratna',
'tag_line' => "Let's talk about me!",
'qualification'=>"MCA"
);
我的問題是如何讀kohana 3.2中的相同文件?
Kohana::config('ratna'); method is not working in 3.2
謝謝mantino – Clarence