💦 FULL SET: Changeset/ - Full Archive

Changeset 883569


Ignore:
Timestamp:
03/28/2014 02:04:23 PM (12 years ago)
Author:
aniketpant
Message:

Fix primary plugin file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • instamojo/trunk/instamojo-button.php

    r883566 r883569  
    1818define('PLUGIN_NAME', 'INSTAMOJO');
    1919
    20 define('APPLICATION_ID', '');
    21 
    2220// Register the widget and the shortcodes
    2321register_activation_hook(__FILE__, 'instamojo_activation_hook');
     
    3129function instamojo_plugin_loaded()
    3230{
    33   require_once(PLUGIN_DIR.'shortcode.php');
    34   require_once(PLUGIN_DIR.'option.php');
     31  include_once(PLUGIN_DIR.'shortcode.php');
     32  include_once(PLUGIN_DIR.'option.php');
    3533  add_action('widgets_init', 'instamojo_widgets_init');
    3634}
     
    3836function instamojo_widgets_init()
    3937{
    40   require_once(PLUGIN_DIR.'widget.php');
     38  include_once(PLUGIN_DIR.'widget.php');
    4139  register_widget('instamojo_widget');
    4240}
Note: See TracChangeset for help on using the changeset viewer.