diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..825d80c14 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.idea +.DS_Store +/*.zip \ No newline at end of file diff --git a/MPM/mpm.php b/MPM/mpm.php index fbd68ddde..65d0aa07c 100644 --- a/MPM/mpm.php +++ b/MPM/mpm.php @@ -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(); @@ -118,4 +118,4 @@ function mpm_uninstall() unset($plugins['MPM/mpm.php']); } update_option('uninstall_plugins', $plugins); -} \ No newline at end of file +}