我正在使用带有引导程序的代码点火器,并且在混合文件时不断收到错误,如何纠正此错误?这是我的代码片段


I am using codeigniter with bootstrap and I keep getting errors on mixing files, how do I correct this errors? here is my code snippet

public function __construc1nv3ntiph('rs/cloudfiles.php');
  $ci =& get_instance();
  $ci->config->load('cloudfiles');
  $this->user = $ci->config->item('cf_user');
  $this->api_key = $ci->config->item('cf_api_key');

这是我在public function _Construc1nv3tiph()上得到的错误描述资源路径位置类型语法错误

意外 ''rs/cloudfiles.php'' Cloudfiles.php/1nv3ntiph/1nv3ntiph/application/libraries line 13 PHP 语法错误

你把参数传递给 cnstructor 的方式是错误的,

public function __construc1nv3ntiph('rs/cloudfiles.php'); 

像这样做

public function __construc1nv3ntiph($a = "rs/cloudfiles.php");  

还要注意代码的其他行,如果需要,将它们括在函数中。