diff --git a/embedly.php b/embedly.php index 584f6a4..648ceff 100644 --- a/embedly.php +++ b/embedly.php @@ -28,7 +28,7 @@ * Define Constants */ if (!defined('EMBEDLY_URL')) { - define('EMBEDLY_URL', plugins_url('/embedly')); + define( 'EMBEDLY_URL', plugins_url( '', __FILE__ ) ); } if (!defined('EMBEDLY_BASE_URI')) { define('EMBEDLY_BASE_URI', 'https://api.embedly.com/1/card?');