Skip to content
This repository was archived by the owner on Jun 25, 2018. It is now read-only.

Commit 8e3597f

Browse files
author
Pierre Klink
committed
#46 added default port to main config
1 parent e754ab0 commit 8e3597f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

protected/config/main.php

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
// include ppma-config
44
$ppma = include dirname(__FILE__) . '/ppma.php';
55

6+
// set default port if is needed
7+
if (!isset($ppma['db']['port'])) {
8+
$ppma['db']['port'] = 3306;
9+
}
10+
611
// CWebApplication properties can be configured here.
712
return array(
813
'basePath' => dirname(__FILE__) . DIRECTORY_SEPARATOR . '..',

0 commit comments

Comments
 (0)