Changeset 693

Show
Ignore:
Timestamp:
2008-07-24 09:06:29 (7 weeks ago)
Author:
michaeltwofish
Message:

Allow plugin to be installed outside of /user/plugins.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/openid/trunk/openid.plugin.php

    r692 r693  
    7878            session_start(); 
    7979        } 
    80         ini_set( 'include_path', Site::get_dir( 'user' ).'/plugins/openid/' ); 
    81         Stack::add( 'template_stylesheet', array( Site::get_url('user').'/plugins/openid/openid.css', 'screen' ), 'openid_style' ); 
     80        ini_set( 'include_path', dirname( __FILE__ ) ); 
     81        Stack::add( 'template_stylesheet', array( $this->get_url() . '/openid.css', 'screen' ), 'openid_style' ); 
    8282    } 
    8383