Unfortunately that mistake caused a one day work loss :(

On Thu, Mar 25, 2010 at 11:42 PM, Harley Laue
<[email protected]> wrote:
> scs wrote:
>> Hello,
>> Does zf tool overwrite existing files?
>> For example, we do have a SampleController.php under controllers.
>> And if by mistake, we wrote the command: zf create controller Sample,
>> does it overwrite the existing SampleController.php?
>>
>> If yes, why??
>
> It does appear to overwrite the file.
> ZendFramework-1.9.5/library/Zend/Tool/Project/Context/Filesystem/File.php
> line 83: // @todo propt user to determine if its ok to overwrite file
> So it looks like it's a planed to *prompt* the user if it's going to
> overwrite anything.
>

Reply via email to