WordPress.org

Plugin Directory

Changeset 90024 for wpcas/trunk


Ignore:
Timestamp:
01/28/09 21:14:33 (5 years ago)
Author:
misterbisson
Message:

changing include() to include_once() to fix error reported by Holger Dippel

Location:
wpcas/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wpcas/trunk/readme.txt

    r62915 r90024  
    44Tags: cas, phpcas, wpcas, central authentication service, authentication, auth, integration 
    55Requires at least: 2.5.1 
    6 Tested up to: 2.6.1 
     6Tested up to: 2.6.5 
    77Stable tag: trunk 
    88 
  • wpcas/trunk/wpcas.php

    r80423 r90024  
    22/* 
    33Plugin Name: wpCAS 
    4 Version: 1.04 
     4Version: 1.05 
    55Plugin URI: http://maisonbisson.com/projects/wpcas 
    66Description: Plugin to integrate WordPress or WordPressMU with existing <a href="http://en.wikipedia.org/wiki/Central_Authentication_Service">CAS</a> single sign-on architectures. Based largely on <a href="http://schwink.net">Stephen Schwink</a>'s <a href="http://wordpress.org/extend/plugins/cas-authentication/">CAS Authentication</a> plugin. Optionally, you can set a function to execute when a CAS username isn't found in WordPress (so, for example, you could provision a WordPress account for them).  
     
    3838 
    3939$error_reporting = error_reporting(0); // hide any warnings when attempting to fetch the optional config file 
    40 include( dirname(__FILE__).'/wpcas-conf.php' ); // attempt to fetch the optional config file 
     40include_once( dirname(__FILE__).'/wpcas-conf.php' ); // attempt to fetch the optional config file 
    4141error_reporting( $error_reporting ); // unhide warnings 
    4242 
    4343// do we have a valid options array? fetch the options from the DB if not 
    4444if( !is_array( $wpcas_options )){ 
    45     $wpcas_options = get_option('wpcas_options'); 
    46     add_action('admin_menu', 'wpcas_options_page_add'); 
     45    $wpcas_options = get_option( 'wpcas_options' ); 
     46    add_action( 'admin_menu', 'wpcas_options_page_add' ); 
    4747} 
    4848 
Note: See TracChangeset for help on using the changeset viewer.