Hi,
I saw lots of topics here have remained unanswered. I hope we all eventually find solutions to our problems.
I get troubles configuring ckfinder. So far, i managed to install it and integrate it into a ckeditor instance. I m trying to configure the access to the ckfinder in the config.php's CheckAuthentication().
My session system, already built for the rest of the website, doesnt take a simple string value as a value, but an entire User object. In order to check the type of user that is visiting the website, I need to call something like: $_SESSION["my_session"]->rightsToCkFinder() that would return a boolean, after having checked some User's class properties.
As i integrated the ckfinder in a ckeditor instance, the ckfinder opens in a popup, and i guess that before being able to use a User object, I need to require_once its class file. I tried doing that, but it wont work... through the relative way (../../../../classes/User.class.php ) and through the absolute way (http://localhost/my_site/classes/User.class.php).
Is there any way to require_once a php file into the config.php?
Thanks
Wed, 04/14/2010 - 23:30
#1
Re: I need to require some php file in the config.php
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+