Welcome Guest, Not a member yet? Register   Sign In
Rails-like Generator Script
#7

[eluser]Jonas G[/eluser]
Thanks for the contribution. I like your tool as I hate copy-pasting the same stuff over and over again.

Even though you have a config file that lets you select your application folder path, the script uses

Code:
$this->dest_dir     = substr(dirname(__FILE__), 0, -22);
in generator.class.php line 33. I had to change that to
Code:
$this->dest_dir     = substr(dirname(__FILE__), 0, -10);
because I rename application to app.

Looking forward to future updates
Jonas


Messages In This Thread
Rails-like Generator Script - by El Forum - 04-28-2009, 08:22 AM
Rails-like Generator Script - by El Forum - 04-28-2009, 08:32 AM
Rails-like Generator Script - by El Forum - 04-28-2009, 09:26 AM
Rails-like Generator Script - by El Forum - 04-29-2009, 03:44 AM
Rails-like Generator Script - by El Forum - 04-30-2009, 01:46 PM
Rails-like Generator Script - by El Forum - 05-01-2009, 03:19 AM
Rails-like Generator Script - by El Forum - 05-01-2009, 08:26 AM
Rails-like Generator Script - by El Forum - 05-01-2009, 11:59 AM
Rails-like Generator Script - by El Forum - 05-01-2009, 11:49 PM
Rails-like Generator Script - by El Forum - 05-04-2009, 01:16 AM
Rails-like Generator Script - by El Forum - 08-26-2010, 08:48 PM



Theme © iAndrew 2016 - Forum software by © MyBB