OSDN Git Service

bootstrap.phpとAppModel.phpを出力に加えた。
[exmascake/exmascake.git] / app / Controller / DbsController.php
index 2ad4312..4ea8873 100644 (file)
@@ -53,7 +53,8 @@ class DbsController extends AppController {
                $db = $this->Db->read(null, $id);
                $path = dirname(dirname(__FILE__)).DS.'tmp'.DS.'output'.DS.'app';
                $this->eXmasCake->createFolder($path);
-
+               $this->eXmasCake->copyConstants($path);
+               
                if (!$this->createDbScript($path,$db)) {
             $this->Session->setFlash(SAVE_NG);
                }