summaryrefslogtreecommitdiff
path: root/plugins/database_attachments
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-08-02 09:17:44 +0200
committerAleksander Machniak <alec@alec.pl>2013-08-02 09:17:44 +0200
commit2feba7bf4d33fccb596e0cbb7ec1d721d557c7e4 (patch)
treea27f86f94e4a1c325f97c8b52cab95752c08346d /plugins/database_attachments
parentf2a9a9007a490d24aa333974ac6205fb286a218a (diff)
Use absolute path in require
Diffstat (limited to 'plugins/database_attachments')
-rw-r--r--plugins/database_attachments/database_attachments.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/database_attachments/database_attachments.php b/plugins/database_attachments/database_attachments.php
index f90807450..5ec351404 100644
--- a/plugins/database_attachments/database_attachments.php
+++ b/plugins/database_attachments/database_attachments.php
@@ -13,7 +13,9 @@
* @author Aleksander Machniak <alec@alec.pl>
* @version @package_version@
*/
-require_once('plugins/filesystem_attachments/filesystem_attachments.php');
+
+require_once INSTALL_PATH . 'plugins/filesystem_attachments/filesystem_attachments.php';
+
class database_attachments extends filesystem_attachments
{
// Cache object