Я создаю два вспомогательных файла в вспомогательной папке. Но когда я пытаюсь включить обоих помощников, я получаю сообщение об ошибке.
Не удалось загрузить запрошенный файл: helpers/web_helper.php
MY_array_helper.php
<?php
function print_pre($array= array()){
echo "<pre>";
print_r($array);
echo "</pre>";
}
MY_web_helper.php
<?php
function test(){
echo "working";
}
Добро пожаловать.php
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Welcome extends CI_Controller {
public function __construct(){
parent::__construct();
$this->load->helper('array_helper');
$this->load->helper('web_helper');
}
$this->load->helper('web');- person Mr. ED   schedule 14.04.2016$config['subclass_prefix'] = 'MY_'что установлено?? - person Saty   schedule 14.04.2016$this->load->helper('web_helper');и$this->load->helper('web');- person Mr. ED   schedule 14.04.2016