Welcome Guest, Not a member yet? Register   Sign In
Codeigniter - PHPCas - Where to put my files ?
#1

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-ig...as-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
Reply
#2

I finally found the solution !

The path to phpcas must be indicate with an relative path and not an absolut one !

Thanks
Reply




Theme © iAndrew 2016 - Forum software by © MyBB