@@ -73,7 +73,7 @@ |
||
| 73 | 73 | |
| 74 | 74 | // maximum file size for uploaded files in bytes also used when uploading import files |
| 75 | 75 | // upload_maxsize default value = 3000000 |
| 76 | -$upload_maxsize = 52428800; // 50MB |
|
| 76 | +$upload_maxsize = 52428800; // 50MB |
|
| 77 | 77 | // flag to allow export functionality |
| 78 | 78 | // 'all' to allow anyone to use exports |
| 79 | 79 | // 'admin' to only allow admins to export |
@@ -5,7 +5,7 @@ discard block |
||
| 5 | 5 | * @copyright YetiForce Sp. z o.o |
| 6 | 6 | * @license YetiForce Public License 3.0 (licenses/LicenseEN.txt or yetiforce.com) |
| 7 | 7 | */ |
| 8 | -$config['db_dsnw'] = 'mysql://'.$dbconfig['db_username'].':'.$dbconfig['db_password'].'@'.$dbconfig['db_server'].':'.$dbconfig['db_port'].'/'.$dbconfig['db_name']; |
|
| 8 | +$config['db_dsnw'] = 'mysql://' . $dbconfig['db_username'] . ':' . $dbconfig['db_password'] . '@' . $dbconfig['db_server'] . ':' . $dbconfig['db_port'] . '/' . $dbconfig['db_name']; |
|
| 9 | 9 | $config['db_prefix'] = 'roundcube_'; |
| 10 | 10 | $config['default_host'] = ['ssl://imap.gmail.com' => 'ssl://imap.gmail.com']; |
| 11 | 11 | $config['validate_cert'] = false; |
@@ -58,8 +58,8 @@ discard block |
||
| 58 | 58 | $config['ldap_debug'] = AppConfig::debug('ROUNDCUBE_LDAP_DEBUG'); |
| 59 | 59 | $config['smtp_debug'] = AppConfig::debug('ROUNDCUBE_SMTP_DEBUG'); |
| 60 | 60 | $config['devel_mode'] = AppConfig::debug('ROUNDCUBE_DEVEL_MODE'); |
| 61 | -$config['log_dir'] = RCUBE_INSTALL_PATH.'/../../../../cache/logs/'; |
|
| 62 | -$config['temp_dir'] = RCUBE_INSTALL_PATH.'/../../../../cache/mail/'; |
|
| 61 | +$config['log_dir'] = RCUBE_INSTALL_PATH . '/../../../../cache/logs/'; |
|
| 62 | +$config['temp_dir'] = RCUBE_INSTALL_PATH . '/../../../../cache/mail/'; |
|
| 63 | 63 | //Socket context options |
| 64 | 64 | $config['imap_conn_options'] = [ |
| 65 | 65 | 'ssl' => [ |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | $config['enable_authres_status_column'] = true; |
| 82 | 82 | $config['show_statuses'] = 127; |
| 83 | 83 | //CRM Additional configuration parameters |
| 84 | -$config['root_directory'] = ROOT_DIRECTORY.DIRECTORY_SEPARATOR; |
|
| 84 | +$config['root_directory'] = ROOT_DIRECTORY . DIRECTORY_SEPARATOR; |
|
| 85 | 85 | $config['site_URL'] = $config['public_URL'] = $site_URL; |
| 86 | 86 | $config['public_URL'] .= strpos($_SERVER['SCRIPT_NAME'], 'public_html/modules/OSSMail') === false ? '' : 'public_html/'; |
| 87 | 87 | $config['imap_open_add_connection_type'] = true; |
@@ -6,6 +6,6 @@ |
||
| 6 | 6 | * @license YetiForce Public License 3.0 (licenses/LicenseEN.txt or yetiforce.com) |
| 7 | 7 | * @author Mariusz Krzaczkowski <[email protected]> |
| 8 | 8 | */ |
| 9 | -chdir(__DIR__.'/../'); |
|
| 9 | +chdir(__DIR__ . '/../'); |
|
| 10 | 10 | define('IS_PUBLIC_DIR', true); |
| 11 | 11 | require './index.php'; |
@@ -6,6 +6,6 @@ |
||
| 6 | 6 | * @copyright YetiForce Sp. z o.o |
| 7 | 7 | * @author Mariusz Krzaczkowski <[email protected]> |
| 8 | 8 | */ |
| 9 | -chdir(__DIR__.'/../'); |
|
| 9 | +chdir(__DIR__ . '/../'); |
|
| 10 | 10 | define('IS_PUBLIC_DIR', true); |
| 11 | 11 | require 'webservice.php'; |
@@ -6,6 +6,6 @@ |
||
| 6 | 6 | * @copyright YetiForce Sp. z o.o |
| 7 | 7 | * @author Mariusz Krzaczkowski <[email protected]> |
| 8 | 8 | */ |
| 9 | -chdir(__DIR__.'/../'); |
|
| 9 | +chdir(__DIR__ . '/../'); |
|
| 10 | 10 | define('IS_PUBLIC_DIR', true); |
| 11 | 11 | require 'cron.php'; |
@@ -6,6 +6,6 @@ |
||
| 6 | 6 | * @copyright YetiForce Sp. z o.o |
| 7 | 7 | * @author Mariusz Krzaczkowski <[email protected]> |
| 8 | 8 | */ |
| 9 | -chdir(__DIR__.'/../'); |
|
| 9 | +chdir(__DIR__ . '/../'); |
|
| 10 | 10 | define('IS_PUBLIC_DIR', true); |
| 11 | 11 | require 'dav.php'; |
@@ -6,6 +6,6 @@ |
||
| 6 | 6 | * @license YetiForce Public License 3.0 (licenses/LicenseEN.txt or yetiforce.com) |
| 7 | 7 | * @author Mariusz Krzaczkowski <[email protected]> |
| 8 | 8 | */ |
| 9 | -chdir(__DIR__.'/../'); |
|
| 9 | +chdir(__DIR__ . '/../'); |
|
| 10 | 10 | define('IS_PUBLIC_DIR', true); |
| 11 | 11 | require 'file.php'; |
@@ -42,9 +42,9 @@ discard block |
||
| 42 | 42 | |
| 43 | 43 | public function getUrl() |
| 44 | 44 | { |
| 45 | - $url = 'module='.$this->Module.'&view=Detail&record='.$this->Record.'&mode=showRecentRelation&page=1&limit='.$this->Data['limit']; |
|
| 45 | + $url = 'module=' . $this->Module . '&view=Detail&record=' . $this->Record . '&mode=showRecentRelation&page=1&limit=' . $this->Data['limit']; |
|
| 46 | 46 | foreach (self::getActions() as $type) { |
| 47 | - $url .= '&type[]='.$type; |
|
| 47 | + $url .= '&type[]=' . $type; |
|
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | return $url; |
@@ -142,12 +142,12 @@ discard block |
||
| 142 | 142 | 'id' => 'vtiger_crmentity.crmid', |
| 143 | 143 | 'content' => 'a.subject', |
| 144 | 144 | 'user' => 'vtiger_crmentity.smownerid', |
| 145 | - 'time' => new \yii\db\Expression('CONCAT(a.date_start, '.$db->quoteValue(' ').', a.time_start)'), |
|
| 145 | + 'time' => new \yii\db\Expression('CONCAT(a.date_start, ' . $db->quoteValue(' ') . ', a.time_start)'), |
|
| 146 | 146 | ]) |
| 147 | 147 | ->from('vtiger_activity a') |
| 148 | 148 | ->innerJoin('vtiger_crmentity', 'vtiger_crmentity.crmid = a.activityid') |
| 149 | 149 | ->where(['vtiger_crmentity.deleted' => 0]) |
| 150 | - ->andWhere(['=', 'a.'.$field, $recordId]); |
|
| 150 | + ->andWhere(['=', 'a.' . $field, $recordId]); |
|
| 151 | 151 | \App\PrivilegeQuery::getConditions($query, 'Calendar', false, $recordId); |
| 152 | 152 | $queries[] = $query; |
| 153 | 153 | } |
@@ -183,7 +183,7 @@ |
||
| 183 | 183 | if ($tabid === self::IGNORE_MODULE) { |
| 184 | 184 | $permittedTabIdList = \vtlib\Deprecated::getPermittedModuleIdList(); |
| 185 | 185 | if (!empty($permittedTabIdList)) { |
| 186 | - $permittedTabIdList[] = 0; // Added to support one link for all modules |
|
| 186 | + $permittedTabIdList[] = 0; // Added to support one link for all modules |
|
| 187 | 187 | foreach ($permittedTabIdList as $moduleId) { |
| 188 | 188 | foreach ($type as $typ) { |
| 189 | 189 | if (isset($rows[$moduleId][$typ])) { |