ai_external.js auto create on updates?
-
Every time the plugin gets updates, ai_external.js disappears. That is understandable, as it is generated within the plugin area.
Firstly, generated files should *not* be placed here. There is a wp-content directory that is writable for putting generated and temporary files into. The plugins folders should be assumed to be *not* writeable by the web service (regardless of whether most installs of fastcgi makes *everything* writeable by the web service, sigh). So, create a directory under wp-config for this plugin, and use that.
As an alternative, if there is an insistence of generating the ai_external.js file under the plugin area, why not generate it automatically after each plugin update? Not doing so breaks the site.
- The topic ‘ai_external.js auto create on updates?’ is closed to new replies.