issue #959 - configurable write directory#1185
Conversation
making for a single directory under which the webserver needs to write to - using $THINKUP_CFG["datadir_path"], defaults to 'data' under the thinkup root - directories moved under 'data': 'compiled_view', 'cache', 'logs' - added helper functions: -- Utils::getDataPath($str) - absolute path to data - if $str given, data/$str -- Utils::getBackupPath($str) - data/backup/$str -- Plugin->getDataPath($str) - data/plugins/$plugin_folder_name/$str
|
Thanks for this pull request, we've needed to move the default location of the writable directory for awhile. There are two problems which have to be resolved before I merge:
Unexpected exception of type [PDOException] with message [Database error! |
|
On Thu, Jan 26, 2012 at 7:51 PM, Gina Trapani <
Interesting. I thought I had accounted for that possibility. Still, it's an
Thanks for the details. Doesn't sound like it would be too difficult for me How quickly to you need to get this resolved? I anticipate it would only Mark
|
|
Hey Mark--this is actually @pushingit's pull request. Looking into it a bit more, I realize the test failures are probably a permissions problem in my dev environment. I'm troubleshooting that today. |
|
Whoops - thought the message was for me directly :) Anyway, I'll probably Mark On Sun, Jan 29, 2012 at 10:01 AM, Gina Trapani <
|
|
I got my permissions issue sorted out, and made a few more fixes/enhancements/clarifications in b56dcab and merged. Thanks again. |
making for a single directory under which the webserver needs to write to
making sure not to default to tmp as that gets auto-cleaned on some systems
-- Utils::getDataPath($str) - absolute path to data - if $str given, data/$str
-- Utils::getBackupPath($str) - data/backup/$str
-- Plugin->getDataPath($str) - data/plugins/$plugin_folder_name/$str