From 69211185e5578b72d3a0f9e10b5dd3d0b2f0e2a0 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sun, 9 Dec 2018 18:43:21 +0100 Subject: auto-media-dir-list --- app/class/media.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/class/media.php') diff --git a/app/class/media.php b/app/class/media.php index 2d27be7..0cbbd89 100644 --- a/app/class/media.php +++ b/app/class/media.php @@ -54,6 +54,12 @@ class Media } + public function getfullpath() + { + return '/' . Config::basepath() . '/' . $this->path() . $this->id() . '.' . $this->extension(); + } + + // _________________________________________________ G E T ____________________________________________________ -- cgit v1.2.3