Open macmonty opened 11 years ago
Where is admin.config.php? or did you mean app.config.php
Sorry, it's app.config.php, i write my own code to select the gross unit.
Regards
2013/2/4 Timothy Sturm notifications@github.com
Where is admin.config.php? or did you mean app.config.php
— Reply to this email directly or view it on GitHubhttps://github.com/nshahzad/phpVMS/issues/87#issuecomment-13095659.
I would recommend, instead of changing the values in app.config.php, to move them to local.config.php and change the values there.
has the issue been resolved?
Hello, i use fskeeper like ACARS service, but always the fuel in phpvms it's on lbs converted.
When export the flight in keeper, the weight fuel it's on kg, but when it's imported in phpvms they convert this value to lbs.
I modified the local.config.php and the admin.config.php with this settings:
Units settings
Config::Set('WeightUnit', '0'); # 0=Kg 1=lbs Config::Set('DistanceUnit', '2'); # 0=KM 1= Miles 2=NMiles Config::Set('SpeedUnit', '1'); # 0=Km/H 1=Kts Config::Set('AltUnit', '1'); # 0=Meter 1=Feet Config::Set('LiquidUnit', '2'); # 0=liter 1=gal 2=kg 3=lbs Config::Set('WelcomeMessage', 'phpVMS/FSPAX ACARS'); # Welcome Message Config::Set('LIQUID_UNIT_NAMES', array('liter','gal','kg','lbs'));
But the phpvms PIREPS the fuel stay in lbs.
Regards