mirror of
https://github.com/friendica/friendica
synced 2025-04-27 18:30:12 +00:00
Define absolute paths for various includes
- Fix errors running local tests in IDE
This commit is contained in:
parent
544cc40026
commit
ad854d5d40
3 changed files with 4 additions and 3 deletions
|
@ -17,7 +17,7 @@ class FriendicaSmartyEngine implements ITemplateEngine
|
|||
|
||||
public function __construct()
|
||||
{
|
||||
if (!is_writable('view/smarty3/')) {
|
||||
if (!is_writable(__DIR__ . '/../../view/smarty3/')) {
|
||||
echo "<b>ERROR:</b> folder <tt>view/smarty3/</tt> must be writable by webserver.";
|
||||
exit();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue