|
@@ -138,9 +138,9 @@ |
|
|
block discarded – undo |
|
138
|
138
|
$phpStormDefaultPaths = array_reverse(glob("$home/.[pP]hp[sS]torm201*/config/")); |
|
139
|
139
|
$phpStormNewDefaultPaths = array_reverse(glob("$home/.config/JetBrains/[pP]hp[sS]torm201*/")); |
|
140
|
140
|
|
|
141
|
|
- if (! empty($phpStormDefaultPaths)) { |
|
|
141
|
+ if (!empty($phpStormDefaultPaths)) { |
|
142
|
142
|
$phpStormDefaultPath = reset($phpStormDefaultPaths); |
|
143
|
|
- } elseif(! empty($phpStormNewDefaultPaths)) { |
|
|
143
|
+ } elseif (!empty($phpStormNewDefaultPaths)) { |
|
144
|
144
|
$phpStormDefaultPath = reset($phpStormNewDefaultPaths); |
|
145
|
145
|
} |
|
146
|
146
|
|
Please login to merge, or discard this patch.