Answer the question
In order to leave comments, you need to log in
How to configure CI not to prescribe this line at the beginning of each controller?
Having started working with projects on CI after Yii2 ( at the request of the employer ), I was unpleasantly surprised that at the beginning of each controller I have to write this line:
defined('BASEPATH') OR exit('No direct script access allowed');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question