Changeset 75 for trunk/config
- Timestamp:
- 08/22/08 14:03:33 (2 years ago)
- Files:
-
- trunk/config/ProjectConfiguration.class.php (modified) (2 diffs)
- trunk/config/app.yml-dist (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/config/ProjectConfiguration.class.php
r66 r75 7 7 public function setup() 8 8 { 9 // Base forms configuration 9 10 sfWidgetFormSchema::setDefaultFormFormatterName('div'); 10 11 sfValidatorBase::setRequiredMessage('This field is required.'); 12 sfValidatorBase::setInvalidMessage('The value provided is invalid.'); 13 11 14 // symfonians constants definition 12 15 if (!defined('SYMFONIANS_MAIN_DOMAIN')) … … 22 25 } 23 26 } 24 27 25 28 public function getWebDir() 26 29 { 27 30 return sfConfig::get('sf_web_dir'); 28 31 } 29 32 30 33 public function getUploadDir() 31 34 { 32 35 return sfConfig::get('sf_upload_dir'); 33 36 } 34 37 35 38 public function getUploadDirName() 36 39 { trunk/config/app.yml-dist
r62 r75 7 7 max_sidebar_tags: 50 8 8 upload_dir: applications 9 screenshot_width: 200 10 screenshot_height: 140 11 screenshot_mime: image/jpeg 12 screenshot_quality: 90 9 thumb.width: 200 10 thumb.height: 140 11 thumb.quality: 90 13 12 default_screenshot: default_screenshot.png 14 13 … … 24 23 box_max_items: 5 25 24 upload_dir: companies 26 logo_width: 200 27 logo_height: 140 28 logo_mime: image/jpeg 29 logo_quality: 90 25 thumb.width: 200 26 thumb.height: 140 27 thumb.quality: 90 30 28 default_logo: default_logo.png 31 29 … … 89 87 90 88 people: 89 forbidden_names: [admin, contact, info, infos, commercial, tech, support, sales, partnership, webmaster, business, owner] 91 90 max_items: 6 92 91 box_max_items: 5
