summaryrefslogtreecommitdiff
path: root/protected/config
diff options
context:
space:
mode:
authorTristan Zur <tzur@ccwn.org>2012-05-18 11:31:14 +0200
committerTristan Zur <tzur@ccwn.org>2012-05-18 11:31:14 +0200
commitbb5de528c46a6acc56c9e856caae5f9999319d62 (patch)
treef9c1772868663342b242a2eaa8fa71baafc2eefc /protected/config
parent3cb7fbfceae978d2b87ae976bf4536c3461bb868 (diff)
- Dateiupload in eigene Klasse ausgelagert -> Upload wird immer gleich
durchgeführt. - Extension SimpleImage hinzugefügt -> Bildgrößen werden nun auf eine konfigurierbare Maximalbreite und Maximalhöhe verkleinert
Diffstat (limited to 'protected/config')
-rw-r--r--protected/config/maincfg.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/protected/config/maincfg.php b/protected/config/maincfg.php
index 8eed397..c3dd6b3 100644
--- a/protected/config/maincfg.php
+++ b/protected/config/maincfg.php
@@ -46,6 +46,9 @@ return array(
'session'=>array(
'timeout'=>30,
),
+ 'simpleImage'=>array(
+ 'class' => 'application.extensions.SimpleImage.CSimpleImage',
+ ),
// uncomment the following to enable URLs in path-format
/*'urlManager'=>array(
@@ -105,5 +108,7 @@ return array(
'end_date'=>'01.07.2012',
'start_time'=>'19:00',
'end_time'=>'23:00',
+ 'logo_width'=>50,
+ 'logo_height'=>50,
),
); \ No newline at end of file