php - Codeigniter Community AUth Use of undefined constant USE_SSL -


i on codeigniter 3. installed community auth , receiving error:

use of undefined constant use_ssl - assumed 'use_ssl'".

when change code to use_ssl, error resolved want make sure correct solution , use_ssl not global variable or function versus constant not see on codigniter forum this.

yes first step must $config['enable_hooks'] = true; , second in /application/config/hooks.php add these line

$hook['pre_system'] = array(    'function' => 'auth_constants',    'filename' => 'auth_constants.php',    'filepath' => 'hooks' ); $hook['post_system'] = array(    'function' => 'auth_sess_check',    'filename' => 'auth_sess_check.php',   'filepath' => 'hooks' ); 

Comments

Popular posts from this blog

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -