title: Notice: Use of undefined constant GLOB_BRACE
body: <p>Getting Notice and Warning Bellow</p>
  <blockquote>
  <p>Notice: Use of undefined constant GLOB_BRACE - assumed 'GLOB_BRACE' in /var/www/html/opencart/upload/admin/controller/extension/extension.php on line 2</p>
  <p>Warning: glob(): At least one of the passed flags is invalid or not supported on this platform in /var/www/html/opencart/upload/admin/controller/extension/extension.php on line 41</p>
  <p>Warning: Invalid argument supplied for foreach() in /var/www/html/opencart/upload/admin/controller/extension/extension.php on line 44</p>
  </blockquote>
  <p>When i list all defined constant <code>GLOB_BRACE</code> is missing.</p>
  <pre><code>GLOB_MARK =&gt; 2
  GLOB_NOSORT =&gt; 4
  GLOB_NOCHECK =&gt; 16
  GLOB_NOESCAPE =&gt; 64
  GLOB_ERR =&gt; 1
  GLOB_ONLYDIR =&gt; 1073741824
  GLOB_AVAILABLE_FLAGS =&gt; 1073741911
  </code></pre>
  <p>Operating System,php, Opencart Version:</p>
  <ul>
  <li>Linux opencart-77fcc87595-2gqvw 4.4.86+ #1 SMP Thu Dec 7 20:11:11 PST 2017 x86_64</li>
  <li>Linux</li>
  <li>Current PHP version: 7.1.12</li>
  <li>OpenCart Version 2.3.0.2</li>
  </ul>
  <p>I have all ready read the documentation <a href="http://php.net/manual/en/function.glob.php" rel="nofollow noreferrer"><code>array glob ( string $pattern \[, int $flags = 0 \] )</code></a></p>
  <p>I am 100% sure it is not issue of OpenCart</p>