Codeigniter - PHPCas - Where to put my files ? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=11) +--- Thread: Codeigniter - PHPCas - Where to put my files ? (/showthread.php?tid=1640) |
Codeigniter - PHPCas - Where to put my files ? - aloysius_tim - 03-28-2015 Hello everyone, First sorry for my english ! I am desperately trying to set up authentication with an existing CAS system. I try to use this library wrapper (https://github.com/eliasdorneles/code-igniter-cas-library) to use phpCAS (https://wiki.jasig.org/display/CASC/phpCAS) However, I do not arrive to use it I put the library in my library folder. However for phpCAS, I do not know where to place it, in any folder. Then I need to indicate in a a config file the path of phpCas: $ config ['phpcas_path'] = '/path/to/phpCAS-1.3.1'; However, how to put the path if this is a library? So I tried to put it in the assets, however, strangely when the library tests for the existence of the file, so that it points to the right place, it returns false. I do not understand anything. Anyone have the solution to my problem? An example ? Or even a source code if possible? Thank you in advance, Best Regards RE: Codeigniter - PHPCas - Where to put my files ? - aloysius_tim - 03-28-2015 I finally found the solution ! The path to phpcas must be indicate with an relative path and not an absolut one ! Thanks |