Replies: 1 comment 3 replies
-
I don't see a problem at the moment. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am seeing an issue which I think has more to do with the core CI4 repository than it does Shield, but it is directly effecting Shield. When adding the "recommended" helpers to \Config\Autoload.php
public $helpers = ['auth', 'setting'];
it seams to have no effect. I get errors thatauth()
andsetting()
cannot be found.The only thing that seems to solve the problem is adding the following the the
$files
array in the Autoload.php file:The documentation on this topic imply that I should not have to do this as these helpers are located in a known name space. This should obviously be addressed in the core CI4 repository (either in code or in the documentation), but my question is should we update the Shield documentation in the mean time?
Beta Was this translation helpful? Give feedback.
All reactions