Permalink
Browse files

Adding generate.php to be compatible with Windows

  • Loading branch information...
klederson committed Dec 12, 2013
1 parent a74911c commit 9391c6981a995dba9b62d51eb1338822afcc2bac
Showing with 2 additions and 1 deletion.
  1. +2 −1 app/generator/generate.php
@@ -11,7 +11,8 @@
echo "\r\n";
echo "Please type the path to your system\r\n";
echo "(if it does not exists will be created and all files and subfolders will be deleted - BE CAREFUL):\r\n ";
$endPath = exec('read path ; echo $path', $endPathArr);
$handle = fopen ("php://stdin","r");
$endPath = fgets($handle);
//echo "\r\n";
//echo "Removing existent files...\r\n";
//$removing = exec("rm -rf $fullStructurePath");

0 comments on commit 9391c69

Please sign in to comment.