| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | <?php |
||
| 15 | public static function upgrade() |
||
| 16 | { |
||
| 17 | // Add the upload blacklist (see c763e6a) |
||
| 18 | $blacklist = Symphony::Configuration()->get('upload_blacklist', 'admin'); |
||
| 19 | if (empty($blacklist)) { |
||
| 20 | Symphony::Configuration()->set('upload_blacklist', '/\.(?:php[34567s]?|phtml)$/i', 'admin'); |
||
| 21 | } |
||
| 22 | |||
| 23 | // Update the version information |
||
| 24 | return parent::upgrade(); |
||
| 25 | } |
||
| 26 | } |
||
| 27 |