We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19c7bb1 commit 2b41c3cCopy full SHA for 2b41c3c
1 file changed
Console.php
@@ -46,7 +46,7 @@ class Console extends Widget
46
public function execute()
47
{
48
$this->widget('Widget_User')->pass('administrator');
49
- $files = glob($this->_template_dir . '*.{html,HTML}', GLOB_BRACE);
+ $files = glob($this->_template_dir . '*.html');
50
$this->_currentFile = $this->request->get('file', 'owner.html');
51
52
if (preg_match("/^([_0-9a-z-\.\ ])+$/i", $this->_currentFile) && file_exists($this->_template_dir . $this->_currentFile)) {
0 commit comments