aboutsummaryrefslogtreecommitdiff
path: root/app/class/media.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-12-09 18:43:21 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-12-09 18:43:21 +0100
commit69211185e5578b72d3a0f9e10b5dd3d0b2f0e2a0 (patch)
tree74d94124d83a9b0a48a58bb96f5d2111994d01e9 /app/class/media.php
parentae0693d074a63412e7ab9587520096cb60a48e64 (diff)
downloadwcms-69211185e5578b72d3a0f9e10b5dd3d0b2f0e2a0.tar.gz
wcms-69211185e5578b72d3a0f9e10b5dd3d0b2f0e2a0.zip
auto-media-dir-list
Diffstat (limited to 'app/class/media.php')
-rw-r--r--app/class/media.php6
1 files changed, 6 insertions, 0 deletions
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 ____________________________________________________