Moderators Kyle Posted November 24, 2010 Moderators Report Posted November 24, 2010 Hey Guys, I'm trying to look around to how to add flight types. Like for example that I want to add a "Private" Flight To my flight creation drop down list? Is it possibility to this? Quote
Administrators simpilot Posted November 24, 2010 Administrators Report Posted November 24, 2010 Way down in the bowels of the app.config.php file there is an array of options that your new flight type would have to be added to. /** * Constants * Do not modify these! All sorts of weird stuff can happen */ # Set the type of flights we have Config::Set( 'FLIGHT_TYPES', array( 'P'=>'Passenger', 'C'=>'Cargo', 'H'=>'Charter' ) ); But as the notes say, be careful. After adding it to the array you will have to modify all your drop downs and such accordingly. I have no idea as to if it would affect Acars programs among other things or not... Good luck 1 Quote
Moderators Kyle Posted November 24, 2010 Author Moderators Report Posted November 24, 2010 Now you are just a smart guy here at phpVMS. Thanks. I can do the rest, Thanks for your help Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.