I just got a request recently to add some features to a PostNuke module I developed for a client about 2 years ago — my first PHP project ever… I was kindof dreading the whole process. But low and behold… I’m finding things like:
// HLG – REMOVING UNNECC FUNCTIONS
// include ‘modules/’.$modinfo[‘directory’].’/pnincludes/swtypes.php’;
// include ‘modules/’.$modinfo[‘directory’].’/pnincludes/manufacturers.php’;
// include ‘modules/’.$modinfo[‘directory’].’/pnincludes/software.php’;
// include ‘modules/’.$modinfo[‘directory’].’/pnincludes/swtypes.php’;
// include ‘modules/’.$modinfo[‘directory’].’/pnincludes/manufacturers.php’;
// include ‘modules/’.$modinfo[‘directory’].’/pnincludes/software.php’;
Holy Cow! I commented the daylights out of this project. Yay for me.
No commentsLeave a Reply