Support » Plugins » adding sub-directories to plugin breaks plugin…

  • I’ve written a plugin and didn’t put a whole lot of thought into organization when I first wrote it. So, the plugin folder doesn’t have any sub-directories in which to hold images,js,css, etc..

    Since releasing the plugin, I’ve tried to organize it and add folders to the plugin for images and css… However, I noticed that if users do the “one click” upgrade, the folders don’t get added and the plugin breaks because the code is telling the browser to look in folders that don’t exist.

    Is there a way to do this? Is there just something I’m missing?

Viewing 1 replies (of 1 total)
  • Your plugin should make sure the directories are created shouldn’t it?..

    Can you not replicate this issue yourself if it exists with the plugin?..

    I’ve not written plugins, but i’d imagine your plugin needs to check it’s creating the folders if they are required.

Viewing 1 replies (of 1 total)
  • The topic ‘adding sub-directories to plugin breaks plugin…’ is closed to new replies.