2 Yii::setPathOfAlias(
'unit', dirname(__FILE__) . DIRECTORY_SEPARATOR .
'..' . DIRECTORY_SEPARATOR .
'unit');
3 Yii::setPathOfAlias(
'site',
'..');
6 'basePath' => dirname(__FILE__) . DIRECTORY_SEPARATOR .
'..',
8 'name' =>
'Gentics Portal.Node',
11 'sourceLanguage' =>
'en_us',
14 'common' =>
'site.common',
17 'preload' => array(
'log',
'session',
'notificator',
'language',
'personalisation'),
30 'common.components.*',
31 'common.components.notification.*',
32 'common.extensions.*',
33 'common.components.content.*',
34 'common.modules.contentSource.components.*',
35 'common.modules.comments.*',
36 'common.modules.comments.models.*',
37 'common.modules.user.*',
38 'common.modules.user.models.*',
39 'common.modules.user.helpers.*',
40 'common.modules.user.components.*',
41 'common.modules.user.services.*',
42 'common.modules.user.widgets.*',
43 'common.modules.rights.*',
44 'common.modules.rights.models.*',
45 'common.modules.rights.components.*',
46 'common.extensions.eauth.*',
47 'common.extensions.eauth.services.*',
48 'common.modules.language.*',
49 'common.extensions.ExtendedClientScript.*',
50 'common.modules.vote.*',
51 'common.modules.vote.controllers.*',
52 'common.modules.vote.models.*',
53 'application.components.*',
54 'application.controllers.*',
55 'zii.widgets.jui.CJuiWidget',
58 'site.frontend.extensions.*',
59 'site.common.modules.apalines.commands.*',
66 'class' =>
'system.gii.GiiModule',
69 'ipFilters' => array(
'127.0.0.1',
'::1'),
73 'class' =>
'common.modules.comments.CommentsModule',
75 'hashSalt' =>
'h1ads29ds1a91hgj29jl451',
81 'class' =>
'common.modules.like.LikeModule',
91 'class' =>
'common.modules.remember.RememberModule',
92 'facebookApplicationId' =>
'441157159266533',
93 'signSalt' =>
'sign-salt',
94 'shareByMailEmail' =>
'portal.remember@gentics.com',
95 'shareByMailSubject' =>
'Remember subject',
96 'allowedURL' =>
'.gentics.com',
97 'pdfname' =>
'Remembered_Pages.pdf',
98 'tmpFolder' =>
'/tmp/'
101 'class' =>
'common.modules.history.HistoryModule',
106 'contentSource' => array(
108 'class' =>
'common.modules.contentSource.ContentSourceModule',
113 'sourceClass' =>
'FileSystemContentSource',
115 'sourceSettings' => array(
117 'DynamicContentSource' => array(
119 'cacheFolder' => dirname(__FILE__) . DIRECTORY_SEPARATOR .
'../runtime/contentSource/',
121 'usePersonalisation' =>
true,
124 'personalisationFields' => array(
'permissions')
127 'FileSystemContentSource' => array(
129 'contentFolder' => dirname(__FILE__) . DIRECTORY_SEPARATOR .
'../runtime/contentSource/',
131 'usePersonalisation' =>
true,
134 'personalisationFields' => array(
'permissions')
137 'homePage' =>
'Content.Node/index.html',
145 'class' =>
'common.modules.user.UserModule',
149 'sendActivationMail' =>
true,
151 'activationMailSubject' =>
"You registered from {site_name}",
153 'activationEmail' =>
'gportal.activation@example.com',
155 'loginNotActiv' =>
false,
160 'registrationUrl' => array(
161 'en' =>
'/Content.Node/service/Registration.en.html'
164 'recoveryUrl' => array(
165 'en' =>
'/Content.Node/service/Password-Recovery.en.html',
166 'de' =>
'/Content.Node/service/Password-Recovery.de.html'
170 'en' =>
'/Content.Node/service/Login.en.html',
171 'de' =>
'/Content.Node/service/Login.de.html',
172 'ru' =>
'/widgetsTests/userLogin?language=ru'
175 'returnUrl' => array(
176 'en' =>
'/Content.Node/service/Login.en.html',
177 'de' =>
'/Content.Node/service/Login.de.html',
180 'returnLogoutUrl' => array(
181 'en' =>
'/Content.Node/service/Login.en.html',
182 'de' =>
'/Content.Node/service/Login.de.html',
185 'noPermissionsUrl' => array(
186 'en' =>
'/site/noPermissions'
188 'homePageUrl' => array(
189 'en' =>
'/Content.Node/index.html'
193 'loggedInDuration' => 60 * 60 * 24 * 30,
195 'authField' =>
'username',
197 'usernameRequired' =>
true,
199 'usernameUnique' =>
true,
201 'relations' => array(
202 array(CActiveRecord::HAS_MANY,
'UserPersonalisationAttribute',
'user_id')
208 'class' =>
'common.modules.rights.RightsModule',
210 'userNameColumn' =>
'email'
214 'class' =>
'common.modules.language.LanguageModule',
216 'languages' => array(
226 'class' =>
'common.modules.updates.UpdatesModule',
227 'currentVersion' => 0.1
232 'class' =>
'common.modules.bulk.BulkModule',
235 'navigation' => array(
237 'class' =>
'common.modules.navigation.NavigationModule',
244 'class' =>
'common.modules.search.SearchModule',
248 'defaultLandingPage' =>
'Content.Node/service/search/search1.html',
250 'landingPages' => array(),
252 'personalisationDelimiter' =>
' ',
259 'showOnAdvancedSearchForm' =>
true,
270 'whereToSearch' => array(
272 'showOnAdvancedSearchForm' =>
true,
279 'default' =>
'content'
281 'searchType' => array(
282 'showOnAdvancedSearchForm' =>
true,
299 'staticString' =>
'',
301 'shoppingcart' => array(
302 'class' =>
'common.modules.shoppingcart.ShoppingCartModule',
303 'usermail_template' =>
'usermail_template',
304 'adminemail_template' =>
'adminemail_template',
305 'cookie_domain' =>
'.gentics.com',
306 'thankyoupage' => array(
307 'de'=>
'/Content.Node/service/Shopping_Cart_Thank_You.de.html',
308 'en'=>
'/Content.Node/service/Shopping_Cart_Thank_You.en.html',
310 'max_lifetime' => 50,
311 'shipping_costs' => 100,
312 'currency' =>
'€',
313 'notificationsEmail' =>
'portal.shoppingcart@gentics.com',
314 'captchaEnabled' =>
false
317 'personalisation' => array(
318 'class' =>
'common.modules.personalisation.PersonalisationModule',
319 'rule' =>
'personalisation.components.BasicPersonalisationRule',
324 'class' =>
'common.modules.settings.SettingsModule',
328 'class' =>
'common.modules.friends.FriendsModule',
329 'notificationsEmail' =>
'gportal.friends@gentics.com'
332 'class' =>
'common.modules.tagcloud.tagcloudModule',
334 'defaultOverviewPage' =>
'/Content.Node/testing/Overview.en.html',
335 'overviewPages' => array(
336 'en' =>
'/Content.Node/testing/Overview.en.html',
337 'de' =>
'/Content.Node/testing/Overview.de.html',
339 'tagsSeparator' =>
', ',
340 'tagstyles' => array(
347 'class' =>
'site.common.modules.apalines.APALinesModule',
348 'customer_number' =>
'CB86E6F1-1847-4BD9-8FA7-E5606B97BCE8',
349 'video_url' =>
'http://videoservice.apa.at/Player/UniversalPlayer.aspx',
351 'total_max_age_of_news' => 24*30*5,
352 'total_max_count_of_news' => 50,
355 'unit_test' => array(
356 'delivery_path' =>
'unit.apalines.content.work',
357 'max_age_of_news' => 99999999
365 'components' => array(
367 'repositoryApi' => array(
368 'class' =>
'common.components.RepositoryApi',
369 'url' =>
'http://gportal-dev.gentics.com:8080',
371 'navigation' =>
'/ccr/nav',
372 'binaryContent' =>
'/ccr/content',
373 'contentRepositorySearch' =>
'/ccr/ccr',
375 'search' =>
'/ccr/search',
377 'activePath' =>
'/ccr/ap',
379 'autosuggest' =>
'/ccr/autocomplete',
381 'additionalRequestParameters' => array(
386 'class' =>
'PhpMessageSource',
388 'customI18n' =>
true,
393 'class' =>
'rights.components.RWebUser',
395 'allowAutoLogin' =>
true,
400 'authManager' => array(
402 'class' =>
'RDbAuthManager',
407 'defaultRoles' => array(
'Guest',
'Authenticated')
410 'urlManager' => array(
412 'urlFormat' =>
'path',
414 'showScriptName' =>
false,
417 'user/assignment/<action:\w+>' =>
'user/rightsAssignment/<action>',
418 '<path:Content\.Node\/.+\.(php|html)>' =>
'contentSource/renderer/dynamic',
419 '<path:Content\.Node\/.+>' =>
'contentSource/renderer/static',
421 '<controller:\w+>/<id:\d+>' =>
'<controller>/view',
422 '<controller:\w+>/<action:\w+>/<id:\d+>' =>
'<controller>/<action>',
423 '<controller:\w+>/<action:\w+>' =>
'<controller>/<action>',
424 '<module:\w+>/<controller:\w+>/<action:\w+>' =>
'<module>/<controller>/<action>',
425 '<controller:\w+>' =>
'<controller>/index',
430 'assetManager' => array(
431 'class' =>
'common.components.AssetsManager',
432 'basePath' =>
'tests/assets'
436 'clientScript' => array(
437 'class' =>
'common.extensions.ExtendedClientScript.ExtendedClientScript',
440 'disableRegisterFiles' =>
true,
443 'combineCss' =>
true,
445 'compressCombinedCss' =>
true,
449 'compressCombinedJs' =>
true,
451 'jsMinPath' =>
'common.extensions.ExtendedClientScript.jsmin.*',
453 'cssMinPath' =>
'common.extensions.ExtendedClientScript.cssmin.*'
458 'class' =>
'DbConnectionMan',
460 'connectionString' =>
'mysql:host=qa-db-mysql55.office;port=3306;dbname=gpnphp_unittests_random_15502910420909',
463 'emulatePrepare' =>
true,
465 'tablePrefix' =>
'gportal_',
467 'username' =>
'root',
473 'autoConnect' =>
false,
476 'enableProfiling' =>
true,
478 'enableParamLogging' =>
true,
480 'schemaCachingDuration' => 0,
482 'enableSlave' =>
false,
498 'class' =>
'system.caching.CMemCache',
505 'class' =>
'system.web.CCacheHttpSession',
529 'class' =>
'CLogRouter',
533 'class' =>
'CFileLogRoute',
534 'levels' =>
'error, warning',
535 'logPath' => dirname(__FILE__) . DIRECTORY_SEPARATOR .
'..' . DIRECTORY_SEPARATOR .
'..' . DIRECTORY_SEPARATOR .
'custom/runtime',
538 'class' =>
'CProfileLogRoute',
539 'levels' =>
'profile',
542 'class' =>
'CFileLogRoute',
543 'levels' =>
'error, warning, info',
544 'logPath' => dirname(__FILE__) . DIRECTORY_SEPARATOR .
'..' . DIRECTORY_SEPARATOR .
'..' . DIRECTORY_SEPARATOR .
'common/runtime',
549 'notificationManager' => array(
551 'class' =>
'common.components.notification.NotificationManager',
555 'notificators' => array(
558 'class' =>
'common.components.notification.MailNotificator',
560 'phpMailer' => array(
561 'CharSet' =>
'UTF-8',
566 'class' =>
'common.components.notification.FileLogNotificator',
573 'class' =>
'common.extensions.eauth.EAuth',
577 'services' => array()
582 'class' =>
'common.extensions.lightopenid.loid',
585 'errorHandler' => array(
586 'class' =>
'ErrorHandler',
587 'errorAction' =>
'site/error',
588 'errorPages' => array(
589 400 =>
'/site/error400',
590 404 =>
'/site/error404'
594 'class' =>
'system.test.CDbFixtureManager',
595 'basePath' => dirname(__FILE__) .
'/../fixtures/'
601 'customViews' =>
true,
602 'emailForAllMails' => array(
'iaia@meta.ua'),
604 'host' =>
'mail.gentics.com',
606 'dc' => array(
'gentics',
'com')
608 'captcha' =>
'polomo'