Incorrectly generated code (3.0.2)
Brought to you by:
nileshd
I used the Generate All CRUD code... from the Advanced
section.
in the config\classConstants.inc.php file, the
LIB_COMPONENT is incorrectly defined. Apparently yopu
have moved the directory.
Here is my fix:
//define("LIB_COMPONENT",COMMON_COMPONENT.FILE_SEPARATOR."lib");
define("LIB_COMPONENT",APP_PATH.FILE_SEPARATOR."lib");
Also, if you run the genie with display_errors="1" you
will get a number of warnings about undefined variables
etc.
Is a fix planned, because I was thinking of using this
tool for my development.
Also, how about an option generating "<?php" instead of
just "<?"
Thanks
Peter
Logged In: YES
user_id=398388
LIB COMPONENT FIXED...
will try to make all generate <?php eventually.. have had
some issues myself when using XML in php... with the <?