mirror of
https://github.com/there4/markdown-resume.git
synced 2024-12-03 08:59:35 -05:00
Update phar file with latest build
* Update `ouput` to be a folder instead of a filename
This commit is contained in:
@@ -18,7 +18,7 @@ class TemplatesCommand extends Command
|
||||
{
|
||||
$this->app = $this->getApplication();
|
||||
$tplData = array('templates' => array());
|
||||
foreach(glob($this->app->templatePath . '/*', GLOB_ONLYDIR) as $dir) {
|
||||
foreach (glob($this->app->templatePath . '/*', GLOB_ONLYDIR) as $dir) {
|
||||
$tplData['templates'][] = (object) array(
|
||||
'name' => basename($dir),
|
||||
'description' => file_exists($dir . '/description.txt')
|
||||
|
||||
Reference in New Issue
Block a user