Welcome Guest, Not a member yet? Register   Sign In
Unable to load a third_party driver
#1

Hi,

I am trying to add a driver, as in
eg, https://codeigniter.com/user_guide/libra...om-drivers

but instead of adding in ,
  application/libraries/Session/drivers/Session_dummy_driver.php
would like to place/package it under say,
  application/third_party/package1/libraries/Session/drivers/Session_dummy_driver.php

Currently trying in codeigniter-v3.1.11, but unable to load it.

Any help would be appreciated.

Thanks,
V.Krishn
Reply
#2

It's hardcoded. So you can't use the autoload without placing in that folder. You can however create a package in your third_party folder. But you need to load that package every time you need it.
https://codeigniter.com/user_guide/libra...oader.html
Reply




Theme © iAndrew 2016 - Forum software by © MyBB