Jump to content

Recommended Posts

  • Moderators
Posted

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?

  • Administrators
Posted

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 B)

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...