source: pro-bachkim-filespace/sourcecode/api.violet.vn/www/cache/platform/prod/config/config_factories.yml.php

Last change on this file was 19, checked in by dungnv, 11 years ago
File size: 1.5 KB
Line 
1<?php
2// auto-generated by sfFactoryConfigHandler
3// date: 2014/05/07 16:15:25
4
5  $this->controller = sfController::newInstance(sfConfig::get('sf_factory_controller', 'sfFrontWebController'));
6  $this->request = sfRequest::newInstance(sfConfig::get('sf_factory_request', 'sfWebRequest'));
7  $this->response = sfResponse::newInstance(sfConfig::get('sf_factory_response', 'sfWebResponse'));
8  $this->storage = sfStorage::newInstance(sfConfig::get('sf_factory_storage', 'sfDatabaseSessionStorage'));
9  $this->user = sfUser::newInstance(sfConfig::get('sf_factory_user', 'sfMyUser'));
10  $this->controller->initialize($this);
11  $this->request->initialize($this, sfConfig::get('sf_factory_request_parameters', NULL), sfConfig::get('sf_factory_request_attributes', array()));
12  $this->response->initialize($this, sfConfig::get('sf_factory_response_parameters', NULL));
13  $this->storage->initialize($this, sfConfig::get('sf_factory_storage_parameters', array (
14  'session_name' => 'symfony',
15  'session_dsn' => 'mysql:dbname=sessions;host=127.0.0.1',
16  'session_user' => 'sessionuser',
17  'session_password' => 'sessionpassword',
18)));
19  $this->user->initialize($this, sfConfig::get('sf_factory_user_parameters', NULL));
20
21  if (sfConfig::get('sf_cache'))
22  {
23    $this->viewCacheManager = new sfViewCacheManager();
24    $this->viewCacheManager->initialize($this, sfConfig::get('sf_factory_view_cache', 'sfFileCache'), sfConfig::get('sf_factory_view_cache_parameters', array (
25  'automaticCleaningFactor' => 0,
26  'cacheDir' => '/home/www/cache/platform/prod/template',
27)));
28 }
29
Note: See TracBrowser for help on using the repository browser.