Removing the ?> from files generated by bake. Fixes #1631

This commit is contained in:
mark_story 2011-04-02 09:17:14 -04:00
parent fbab7bd9c3
commit 5a58d38a80
5 changed files with 1 additions and 4 deletions

View file

@ -58,4 +58,3 @@ echo $actions;
endif; ?> endif; ?>
} }
<?php echo "?>"; ?>

View file

@ -39,4 +39,3 @@ class <?php echo $model; ?>Fixture extends CakeTestFixture {
var $records = <?php echo $records; ?>; var $records = <?php echo $records; ?>;
<?php endif;?> <?php endif;?>
} }
<?php echo '?>'; ?>

View file

@ -139,4 +139,3 @@ if (!empty($associations['hasAndBelongsToMany'])):
endif; endif;
?> ?>
} }
<?php echo '?>'; ?>

View file

@ -54,4 +54,3 @@ class <?php echo $fullClassName; ?>TestCase extends CakeTestCase {
<?php endforeach;?> <?php endforeach;?>
} }
<?php echo '?>'; ?>

View file

@ -31,6 +31,7 @@ if (!class_exists('ShellDispatcher')) {
require CAKE . 'console' . DS . 'cake.php'; require CAKE . 'console' . DS . 'cake.php';
ob_end_clean(); ob_end_clean();
} }
null
require_once CAKE . 'console' . DS . 'libs' . DS . 'tasks' . DS . 'project.php'; require_once CAKE . 'console' . DS . 'libs' . DS . 'tasks' . DS . 'project.php';
require_once CAKE . 'console' . DS . 'libs' . DS . 'tasks' . DS . 'controller.php'; require_once CAKE . 'console' . DS . 'libs' . DS . 'tasks' . DS . 'controller.php';