OSDN Git Service

* set default Smarty plugin directory for project skel
authorsotarok <sotarok@2ef88817-412d-0410-a32c-8029a115e976>
Tue, 20 Jan 2009 13:24:16 +0000 (13:24 +0000)
committersotarok <sotarok@2ef88817-412d-0410-a32c-8029a115e976>
Tue, 20 Jan 2009 13:24:16 +0000 (13:24 +0000)
class/Plugin/Generator/Ethna_Plugin_Generator_Project.php
skel/app.controller.php

index dfc137d..a607ce0 100644 (file)
@@ -44,6 +44,8 @@ class Ethna_Plugin_Generator_Project extends Ethna_Plugin_Generator
             array("app/plugin", 0755),
             array("app/plugin/Filter", 0755),
             array("app/plugin/Validator", 0755),
+            array("app/plugin/Smarty", 0755),
+            array("app/plugin/", 0755),
             array("app/view", 0755),
             array("app/test", 0755),
             array("bin", 0755),
index 287f1df..ebe6d5e 100644 (file)
@@ -95,7 +95,7 @@ class {$project_id}_Controller extends Ethna_Controller
         'filter'        => 'app/filter',
         'locale'        => 'locale',
         'log'           => 'log',
-        'plugins'       => array(),
+        'plugins'       => array('app/plugin/Smarty',),
         'template'      => 'template',
         'template_c'    => 'tmp',
         'tmp'           => 'tmp',