From 2feba7bf4d33fccb596e0cbb7ec1d721d557c7e4 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 2 Aug 2013 09:17:44 +0200 Subject: Use absolute path in require --- plugins/database_attachments/database_attachments.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 * @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 -- cgit v1.2.3