diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-26 18:49:20 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-26 18:49:20 +0000 |
commit | 25b0dff45cf0776ebee4aeadfe05d0977d03eb0d (patch) | |
tree | dbdaafc7403020771f673a9125658be03b48674f /core | |
parent | b3be74166c2ab3987737606c9e57851789681833 (diff) |
Add a thumbnail to the root directory, in case it gets displayed in a tag dynamic album
Diffstat (limited to 'core')
-rw-r--r-- | core/helpers/core_installer.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/helpers/core_installer.php b/core/helpers/core_installer.php index e0e4f7d9..d4f9113f 100644 --- a/core/helpers/core_installer.php +++ b/core/helpers/core_installer.php @@ -76,7 +76,8 @@ class core_installer { $root->right = 2; $root->parent_id = 0; $root->level = 1; - $root->save(); + $root->set_thumbnail(DOCROOT . "core/tests/test.jpg", 200, 150) + ->save(); } } |