diff options
author | emkael <emkael@tlen.pl> | 2016-04-21 12:05:05 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-04-21 12:05:05 +0200 |
commit | a13ab5d2e66517e8c83a8b302ea593a9fece4cfe (patch) | |
tree | a6fb3e3d9f7fc51c154cb34d83c3ac5883510c22 /app | |
parent | c7dcaab5a61e2fdb132fc48c7b92dfad89408a1f (diff) |
* app resources as symlink with app/php directory
Diffstat (limited to 'app')
-rw-r--r-- | app/php/model/Calendar.php | 2 | ||||
l--------- | app/php/resources | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/php/model/Calendar.php b/app/php/model/Calendar.php index 9de4920..b49bf92 100644 --- a/app/php/model/Calendar.php +++ b/app/php/model/Calendar.php @@ -42,7 +42,7 @@ class Calendar extends ActiveRecord { return parent::finder($className); } - const CUSTOM_IMAGE_PATH = '../../resources/images/calendars/'; + const CUSTOM_IMAGE_PATH = 'resources/images/calendars'; public function getCustomImageUrl() { if ($this->CustomImage) { diff --git a/app/php/resources b/app/php/resources new file mode 120000 index 0000000..bc76415 --- /dev/null +++ b/app/php/resources @@ -0,0 +1 @@ +../../resources
\ No newline at end of file |