嗨朋友我知道如何在 kohana 3.0 中读取配置文件我的代码是
$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