Skip to content
Snippets Groups Projects
Commit 57e6ea0b authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

use local directories rather than PEAR because of lack of access to installing...

use local directories rather than PEAR because of lack of access to installing PEAR packages on the live and dev servers
parent cedcc1cd
No related branches found
No related tags found
No related merge requests found
......@@ -10,10 +10,11 @@
*/
global $CONFIG;
require_once 'peoplefinder/include.php';
// http://code.google.com/p/simplecas/
require_once 'SimpleCAS/Autoload.php';
require_once 'HTTP/Request2.php';
require_once $CONFIG->url.'mod/cas_auth_unl/peoplefinder/include.php';
// http://code.google.com/p/simplecas/
require_once $CONFIG->url.'mod/cas_auth_unl/SimpleCAS/Autoload.php';
require_once $CONFIG->url.'mod/cas_auth_unl/HTTP/Request2.php';
function cas_auth_unl_init() {
......@@ -21,9 +22,9 @@
}
register_action("getemail",true,$CONFIG->pluginspath . "cas_auth_unl/views/default/actions/getemail.php");
register_action("login",false,$CONFIG->pluginspath. "cas_auth_unl/actions/login.php");
register_action("logout",false,$CONFIG->pluginspath. "cas_auth_unl/actions/logout.php");
register_action("getemail",true,$CONFIG->pluginspath."cas_auth_unl/views/default/actions/getemail.php");
register_action("login",false,$CONFIG->pluginspath."cas_auth_unl/actions/login.php");
register_action("logout",false,$CONFIG->pluginspath."cas_auth_unl/actions/logout.php");
// Fire up the plugin initialization using the elgg handler
register_elgg_event_handler('init','system','cas_auth_unl_init');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment