Skip to content

Commit

Permalink
Fixed compatibility with PHP 5.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rick Wong committed Mar 5, 2014
1 parent ff383ab commit 3ca6e4d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.idea
.DS_Store
/*.zip
8 changes: 4 additions & 4 deletions MPM/mpm.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ function mpm_init()
load_plugin_textdomain('MPM', FALSE, plugin_basename(dirname(__FILE__)) . '/languages');

// Define includes
require_once(__DIR__ . '/mpm_gateway.php');
require_once(__DIR__ . '/lib/src/Mollie/API/Autoloader.php');
require_once(__DIR__ . '/mpm_settings.php');
require_once(dirname(__FILE__)) . '/mpm_gateway.php');
require_once(dirname(__FILE__)) . '/lib/src/Mollie/API/Autoloader.php');
require_once(dirname(__FILE__)) . '/mpm_settings.php');

// Instantiate
new MPM_Settings();
Expand Down Expand Up @@ -118,4 +118,4 @@ function mpm_uninstall()
unset($plugins['MPM/mpm.php']);
}
update_option('uninstall_plugins', $plugins);
}
}

0 comments on commit 3ca6e4d

Please sign in to comment.