Support » Plugin: Import External Images » EXTERNAL_IMAGES_DIR already defined

Viewing 2 replies - 1 through 2 (of 2 total)
  • Baden


    Confirmed. I fixed it by editing external-images/import-external-images.php to check if it has already been defined.

    if(!defined('EXTERNAL_IMAGES_DIR')) {
    	define( 'EXTERNAL_IMAGES_DIR' , basename( dirname(__FILE__) ) );

    Please add this to your next release. Or, better yet: do you have your code up on github? Would be happy to fork, fix and submit the fix to you direct. BAM!

    Hi Baden, did you fix it? Can you post a fork in GitHub?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘EXTERNAL_IMAGES_DIR already defined’ is closed to new replies.