Plugin Directory

Changeset 1219665


Ignore:
Timestamp:
08/13/2015 05:10:10 AM (11 years ago)
Author:
Hax
Message:

fix include file

Location:
popular-widget
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • popular-widget/tags/1.6.9/popular-widget.php

    r1219664 r1219665  
    3333    if( ! class_exists( 'PopularWidget' )
    3434    && ! class_exists( 'PopularWidgetFunctions' )
    35     && file_exists( get_template_directory() . "/_inc/functions.php" ) ){
     35    && file_exists(  dirname( __FILE__ ) . "/_inc/functions.php" ) ){
    3636       
    37     include_once( get_template_directory() . "/_inc/functions.php" );
     37    include_once(  dirname( __FILE__ ) . "/_inc/functions.php" );
    3838   
    3939    class PopularWidget extends PopularWidgetFunctions {
  • popular-widget/trunk/popular-widget.php

    r1219664 r1219665  
    3333    if( ! class_exists( 'PopularWidget' )
    3434    && ! class_exists( 'PopularWidgetFunctions' )
    35     && file_exists( get_template_directory() . "/_inc/functions.php" ) ){
     35    && file_exists( dirname( __FILE__ ) . "/_inc/functions.php" ) ){
    3636       
    37     include_once( get_template_directory() . "/_inc/functions.php" );
     37    include_once( dirname( __FILE__ ) . "/_inc/functions.php" );
    3838   
    3939    class PopularWidget extends PopularWidgetFunctions {
Note: See TracChangeset for help on using the changeset viewer.