How to enable write access with a plugin?
-
I wrote a plugin that modifies a few files in my template, per certain conditions. Problem is, I cannot get the plugin to look at any files outside of the plugins directory.
“No such file or directory in… plugins directory”I’ve tried ../themes/mytheme
/wp/wp-content/themes/mythemebut same error as above.
Fyi I can’t put my http address because, as I understand php, it doesn’t like to write to files in a url. It’s got to be an absolute or resolute path.Any ideas ? Thanks
ETA: forget to mention that I’m on my home server, so permissions are a non-issue.
- The topic ‘How to enable write access with a plugin?’ is closed to new replies.