<?php
// uncomment the following to define a path alias
// Yii::setPathOfAlias('local','path/to/local-folder');
// This is the main Web application configuration. Any writable
// CWebApplication properties can be configured here.
return array(
'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
'name'=>'Video Chat',
// Default app lang
'language'=>'en',
'defaultController' => 'Videochat',
// preloading 'log' component
'preload'=>array('log'),
// autoloading model and component classes
'import'=>array(
'application.models.*',
'application.components.*',
),
// application components
'components'=>array(
'user'=>array(
'allowAutoLogin'=>false,
'loginUrl' => array('videochat/login'),
'returnUrl' => array('videochat/index'),
),
'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname=videochat',
'emulatePrepare' => true,
'username' => 'root',
'password' => '',
'charset' => 'utf8',
'tablePrefix' => 'vc_',
'schemaCachingDuration' => 60 * 60 * 24 * 30,
'enableParamLogging' => false,
'enableProfiling' => false,
),
'cache'=>array(
'class'=>'CFileCache',
),
/*'errorHandler'=>array(
// use 'site/error' action to display errors
'errorAction'=>'site/error',
),*/
'log'=>array(
'class'=>'CLogRouter',
'routes'=>array(
array(
'class'=>'CFileLogRoute',
'levels'=>'error, warning',
//'levels'=>'trace, info',
),
// uncomment the following to show log messages on web pages
/*array(
'class'=>'CWebLogRoute',
),*/
),
),
),
// application-level parameters that can be accessed
// using Yii::app()->params['paramName']
'params'=>array(
'tokenTime' => time() + 60 * 60 * 1,
'clearKey' => false,
'default_timezone' => 'Europe/Vilnius', // http://www.php.net/manual/en/timezones.php
'sessIntTime' => 50 * 1000, // Milliseconds 50 * 1000 ms == 50 sec
'dataSync' => 5 * 1000, // Milliseconds. Informer and online users
'chatActivity' => array(
// NoActivity => Time between requests
0 => 1 * 1000,
3 => 2 * 1000,
10 => 5 * 1000,
20 => 15 * 1000,
30 => 30 * 1000,
),
),
);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/vURcq
function name: (null)
number of ops: 24
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
9 0 E > INIT_FCALL 'dirname'
1 SEND_VAL '%2Fin%2FvURcq'
2 DO_ICALL $0
3 CONCAT ~1 $0, '%2F'
4 CONCAT ~2 ~1, '..'
5 INIT_ARRAY ~3 ~2, 'basePath'
10 6 ADD_ARRAY_ELEMENT ~3 'Video+Chat', 'name'
12 7 ADD_ARRAY_ELEMENT ~3 'en', 'language'
13 8 ADD_ARRAY_ELEMENT ~3 'Videochat', 'defaultController'
9 9 ADD_ARRAY_ELEMENT ~3 <array>, 'preload'
10 ADD_ARRAY_ELEMENT ~3 <array>, 'import'
11 ADD_ARRAY_ELEMENT ~3 <array>, 'components'
69 12 INIT_FCALL 'time'
13 DO_ICALL $4
9 14 ADD ~5 $4, 3600
15 INIT_ARRAY ~6 ~5, 'tokenTime'
16 ADD_ARRAY_ELEMENT ~6 <false>, 'clearKey'
71 17 ADD_ARRAY_ELEMENT ~6 'Europe%2FVilnius', 'default_timezone'
9 18 ADD_ARRAY_ELEMENT ~6 50000, 'sessIntTime'
19 ADD_ARRAY_ELEMENT ~6 5000, 'dataSync'
20 ADD_ARRAY_ELEMENT ~6 <array>, 'chatActivity'
21 ADD_ARRAY_ELEMENT ~3 ~6, 'params'
22 > RETURN ~3
83 23* > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
157.81 ms | 1387 KiB | 17 Q