Jump to content

Live Flight map problem


PMDGNGX

Recommended Posts

hello am roy one of the owners of tfl-virtual ( http://www.tflvirtual.com )

i got an problem with the flight map after landing say that taxing tho gate thats if fine but if i close Smartacars

It was still about 12 hours and it's really annoying

So on the front page shows the whole day there ith twhis on it : Roy genderen taxing the gate

and it's really really really annoying!

if anyone knows how to solve this problem, I am very grateful

Link to comment
Share on other sites

in the /core/ folder you will find a file called App.config.php Open it and look for the following (usually around line 110)

# ACARS options
#  Minutes, flights to show on the ACARS
#  Default is 720 minutes (12 hours)
Config::Set('ACARS_LIVE_TIME', 720);
Config::Set('ACARS_DEBUG', false);

And change the ACARS_LIVE_TIME value to something like 5.

I hope this helped.

Regards,

Kishshey

http://skylinefsx.com

Link to comment
Share on other sites

hello and thank you that you have so I've responded quickly

but it still does not work maybe you can look at me website or see this:

<?php

/**

* phpVMS - Virtual Airline Administration Software

* Copyright © 2008 Nabeel Shahzad

* For more information, visit www.phpvms.net

* Forums: http://www.phpvms.net/forum'>http://www.phpvms.net/forum

* Documentation: http://www.phpvms.net/docs'>http://www.phpvms.net/docs

*

* phpVMS is licenced under the following license:

* Creative Commons Attribution Non-commercial Share Alike (by-nc-sa)

* View license.txt in the root, or visit http://creativecommons.org/licenses/by-nc-sa/3.0/

*

* @author Nabeel Shahzad

* @copyright Copyright © 2008, Nabeel Shahzad

* @link http://www.phpvms.net

* @license http://creativecommons.org/licenses/by-nc-sa/3.0/

*/

/**

* DO NOT MODIFY THESE SETTINGS HERE!!

* They will get over-ridden in an update. These are just defaults

* To change, copy-paste and change the line/option/setting into your

* local.config.php file

*

* Most of these are in your local.config.php already

*

* View the docs for details about these settings

*/

define('IN_PHPVMS', true);

# Debug mode is off by default

Config::Set('DEBUG_MODE', false);

Config::Set('DEBUG_LEVEL', 1); // 1 logs query errors, 2 logs all queries

Config::Set('ERROR_LEVEL', E_ALL ^ E_NOTICE);

# Page encoding options

Config::Set('PAGE_ENCODING', 'UTF-8');

Config::Set('DB_CHARSET_NAME', 'utf8');

# Maintenance mode - this disables the site to non-admins

Config::Set('MAINTENANCE_MODE', false);

Config::Set('MAINTENANCE_MESSAGE', 'We are currently down for maintenance, please check back soon.');

# This is your airline's twitter account, if it exists

Config::Set('TWITTER_AIRLINE_ACCOUNT', '');

Config::Set('TWITTER_ENABLE_PUSH', false);

Config::Set('TWITTER_CONSUMER_KEY', '');

Config::Set('TWITTER_CONSUMER_SECRET', '');

Config::Set('TWITTER_OAUTH_TOKEN', '');

Config::Set('TWITTER_OAUTH_SECRET', '');

# See more details about these in the docs

Config::Set('PAGE_EXT', '.htm'); # .htm is fine. You can still run PHP

Config::Set('PILOTID_OFFSET', 0); # What # to start pilot ID's from

Config::Set('PILOTID_LENGTH', 4); # Length of the Pilot ID

Config::Set('UNITS', 'nm'); # Your units: nm, mi or km

Config::Set('LOAD_FACTOR', '82'); # %age load factor

Config::Set('CARGO_UNITS', 'lbs');

Config::Set('DEFAULT_MAX_CARGO_LOAD', 10000);

Config::Set('DEFAULT_MAX_PAX_LOAD', 250);

# Number of routes to show in the route map

Config::Set('ROUTE_MAP_SHOW_NUMBER', 25);

# After how long to mark a pilot inactive, in days

Config::Set('PILOT_AUTO_RETIRE', true);

Config::Set('PILOT_INACTIVE_TIME', 90);

# Automatically confirm pilots?

Config::Set('PILOT_AUTO_CONFIRM', false);

# Automatically calculate ranks?

Config::Set('RANKS_AUTOCALCULATE', true);

# Schedules - ignore the day of week active?

Config::Set('CHECK_SCHEDULE_DAY_OF_WEEK', true);

# Schedules - only show schedules from the last filed PIREP

Config::Set('SCHEDULES_ONLY_LAST_PIREP', false);

# For how many hours a pilot can edit their submitted PIREP (custom fields only)

Config::Set('PIREP_CUSTOM_FIELD_EDIT', '48');

# The time to wait to be allowed to submit identical PIREPS

Config::Set('PIREP_CHECK_DUPLICATE', true);

Config::Set('PIREP_TIME_CHECK', '1'); # Minutes, to wait in between duplicate submits

# Whether to ignore any user-inputted load, and always calculate it

Config::Set('PIREP_OVERRIDE_LOAD', false);

/* What to order schedules by. Use s.[column_name] [ASC/DESC],

with the column name being from the schedules table */

Config::Set('SCHEDULES_ORDER_BY', 's.flightnum ASC');

/* For PIREPS_ORDER_BY use p.[column_name] [ASC/DESC] */

Config::Set('PIREPS_ORDER_BY', 'p.submitdate DESC');

# If someone places a bid, whether to disable that or not

Config::Set('DISABLE_SCHED_ON_BID', true);

Config::Set('DISABLE_BIDS_ON_BID', false);

# Whether to close any bids after a certain amount of time

Config::Set('CLOSE_BIDS_AFTER_EXPIRE', false);

Config::Set('BID_EXPIRE_TIME', '48'); # How many hours to hold bids for

# If you want to count transfer hours in rank calculations

Config::Set('TRANSFER_HOURS_IN_RANKS', false);

# Pilot pilots to only fly aircraft they're ranked to

Config::Set('RESTRICT_AIRCRAFT_RANKS', true);

# The StatsData::UserOnline() function - how many minutes to check

Config::Set('USERS_ONLINE_TIME', 20);

# Google Map Options

Config::Set('MAP_WIDTH', '800px');

Config::Set('MAP_HEIGHT', '600px');

Config::Set('MAP_TYPE', 'G_PHYSICAL_MAP');

Config::Set('MAP_LINE_COLOR', '#ff0000');

Config::Set('MAP_CENTER_LAT', '45.484400');

Config::Set('MAP_CENTER_LNG', '-62.334821');

Config::Set('MAP_ZOOM_LEVEL', 12);

# ACARS options

# Minutes, flights to show on the ACARS

# Default is 720 minutes (12 hours)

Config::Set('ACARS_LIVE_TIME', 1);

Config::Set('ACARS_DEBUG', false);

/*

This is the unit of money. For non-dollars, use :

Dollars ($), enter "$"

Euro (�), enter "€"

Yen (�), enter "¥"

Pounds (�), enter "£"

For example, to set EUROS:

Config::Set('MONEY_UNIT', '€');

*/

Config::Set('MONEY_UNIT', '$');

/*

To change the money format, look at:

http://us3.php.net/money_format

However, I do not recommend changing this

*/

Config::Set('MONEY_FORMAT', '%(#10n');

# Fuel info

/* Default fuel price, for airports that don't have

And the surcharge percentage. View the docs

for more details about these

*/

Config::Set('FUEL_GET_LIVE_PRICE', true);

Config::Set('FUEL_DEFAULT_PRICE', '5.10');

Config::Set('FUEL_SURCHARGE', '5');

# Units settings

# These are global, also used for FSPAX

Config::Set('WeightUnit', '1'); # 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', '3'); # 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'));

/* FSFK Settings

Your FTP Server, and path to the lib/images folder (from where the FTP connects from), IE

ftp://phpvms.net/phpvms/lib/fsfk or ftp://phpvms.net/public_html/phpvms/lib/fsfk

You want the path from when you connect to the FTP down to where the /lib/fsfk folder is

SECURITY NOTE! Make a separate FTP user and password ONLY for this, with access only to this folder

*/

Config::Set('FSFK_FTP_SERVER', '');

Config::Set('FSFK_FTP_PORT', '21');

Config::Set('FSFK_FTP_USER', '');

Config::Set('FSFK_FTP_PASS', '');

Config::Set('FSFK_FTP_PASSIVE_MODE', 'TRUE');

Config::Set('FSFK_IMAGE_PATH', '/lib/fsfk'); // web path from SITE_ROOT

# Options for the signature that's generated

Config::Set('SIGNATURE_TEXT_COLOR', '#000');

Config::Set('SIGNATURE_USE_CUSTOM_FONT', true);

Config::Set('SIGNATURE_FONT_PATH', SITE_ROOT.'/lib/fonts/tahoma.ttf');

Config::Set('SIGNATURE_FONT_SIZE', '10');

Config::Set('SIGNATURE_X_OFFSET', '10');

Config::Set('SIGNATURE_Y_OFFSET', '17');

Config::Set('SIGNATURE_FONT_PADDING', 4);

Config::Set('SIGNATURE_SHOW_EARNINGS', true);

Config::Set('SIGNATURE_SHOW_RANK_IMAGE', true);

Config::Set('SIGNATURE_SHOW_COPYRIGHT', false);

# Avatar information

Config::Set('AVATAR_FILE_SIZE', 50000); # Maximum file-size they can upload

Config::Set('AVATAR_MAX_WIDTH', 80); # Resized width

Config::Set('AVATAR_MAX_HEIGHT', 80); # Resized height

# Cookie information

Config::Set('SESSION_LOGIN_TIME', (60*60*24*30)); # Expire after 30 days, in seconds

Config::Set('SESSION_GUEST_EXPIRE', '30'); # Clear guest sessions 30 minutes

//Config::Set('SESSION_COOKIE_NAME', 'VMS_AUTH_COOKIE');

# Email Settings

Config::Set('EMAIL_FROM_NAME', '');

Config::Set('EMAIL_FROM_ADDRESS', '');

Config::Set('EMAIL_USE_SMTP', false);

# Add multiple SMTP servers by separating them with ;

Config::Set('EMAIL_SMTP_SERVERS', '');

Config::Set('EMAIL_SMTP_PORT', '25');

Config::Set('EMAIL_SMTP_USE_AUTH', false);

Config::Set('EMAIL_SMTP_SECURE', ''); # must be "ssl" for Google Apps

Config::Set('EMAIL_SMTP_USER', '');

Config::Set('EMAIL_SMTP_PASS', '');

# Set specific email addresses to send notifications to

Config::Set('EMAIL_NEW_REGISTRATION', '');

Config::Set('EMAIL_NEW_PIREP', '');

# Whether to send an email or not

Config::Set('EMAIL_SEND_PIREP', true);

# This is email to specifically send email sent error to, such

# as failure notices with an invalid email or something

# If blank, it'll default to the "from" email that's specified

Config::Set('EMAIL_RETURN_PATH', '');

/* Can be 'geonames' or 'phpvms'.

Geonames will use the geonames.org server to look up the airport info

phpvms will use the phpVMS API server

*/

Config::Set('AIRPORT_LOOKUP_SERVER', 'phpvms');

Config::Set('PHPVMS_API_SERVER', 'http://api.phpvms.net');

Config::Set('PHPVMS_NEWS_FEED', 'http://feeds.feedburner.com/phpvms');

Config::Set('VACENTRAL_NEWS_FEED', 'http://feeds.feedburner.com/vacentral');

Config::Set('GEONAME_API_SERVER', 'http://ws.geonames.org');

/* Keys for recaptcha, you can change these if you want to your own but it's

a global key so it should just work */

Config::Set('RECAPTCHA_PUBLIC_KEY', '6LcklAsAAAAAAJqmghmMPOACeJrAxW3sJulSboxx');

Config::Set('RECAPTCHA_PRIVATE_KEY', '6LcklAsAAAAAAMeQy5ZBoDu8JOMTP-UL7ek1GedO');

/* Whether you have the /admin/maintenance.php script added into cron.

If you do, set this to true. This saves many DB calls since phpVMS will

have to 'fake' a cron-job

*/

Config::Set('USE_CRON', false);

Config::Set('CHECK_RELEASE_VERSION', true);

Config::Set('CHECK_BETA_VERSION', false);

Config::Set('URL_REWRITE', false);

/* Days of the Week

The compacted view, and the full text

*/

Config::Set('DAYS_COMPACT', array('Su', 'M', 'T', 'W', 'Th', 'F', 'S', 'Su'));

Config::Set('DAYS_LONG',

array('Sunday',

'Monday',

'Tuesday',

'Wednesday',

'Thursday',

'Friday',

'Saturday',

'Sunday'

)

);

Config::Set('SITE_LANGUAGE', 'en');

Config::Set('ADMIN_SKIN', 'layout');

/**

* *******************************************************

*

*

*

*

*

*

* Advanced options, don't edit unless you

* know what you're doing!!

*

* Actually, don't change them, at all. Please.

* For your sake. And mine. :)

*

*

*

*

*

*

*

*

*

*

*

*

*

*

*

*

*

*

*

*

*

*/

$revision = trim(file_get_contents(CORE_PATH.'/version'));

define('PHPVMS_VERSION', $revision);

Config::Set('TEMPLATE_USE_CACHE', false);

Config::Set('TEMPLATE_CACHE_EXPIRE', '24');

Config::Set('DBASE_USE_CACHE', false);

Config::Set('CACHE_PATH', SITE_ROOT . '/core/cache');

Config::Set('TPL_EXTENSION', '.tpl');

Config::Set('BASE_TEMPLATE_PATH', SITE_ROOT.'/core/templates');

if(defined('ADMIN_PANEL') && ADMIN_PANEL === true) {

Template::SetTemplatePath(SITE_ROOT.'/admin/templates');

define('CODON_MODULES_PATH', SITE_ROOT.'/admin/modules');

define('CODON_DEFAULT_MODULE', 'Dashboard');

} else {

Template::SetTemplatePath(Config::Get('BASE_TEMPLATE_PATH'));

define('CODON_MODULES_PATH', SITE_ROOT.'/core/modules');

define('CODON_DEFAULT_MODULE', 'Frontpage');

}

/* Cache settings */

$cache_settings = array(

'active' => false,

'engine' => 'file', /* "file" or "apc" */

'location' => CACHE_PATH, /* For the "file" engine type */

'prefix' => 'phpvms_', /* Specify a prefix for any entries */

'profiles' => array(

'default' => array(

'duration' => '+10 minutes',

),

'short' => array(

'duration' => '+3 minutes',

),

'15minute' => array(

'duration' => '+15 minutes',

),

'medium' => array(

'duration' => '+1 hour',

),

'medium_well' => array(

'duration' => '+3 hour',

),

'long' => array(

'duration' => '+6 hours'

),

)

);

Config::Set('CACHE_KEY_LIST', array(

'all_airline_active',

'all_airlines',

'start_date',

'months_since_start',

'years_since_start',

'stats_aircraft_usage',

'all_settings',

'total_flights',

'top_routes',

'users_online',

'guests_online',

'pilot_count',

'total_pax_carried',

'flights_today',

'fuel_burned',

'miles_flown',

'aircraft_in_fleet',

'total_news_items',

'total_schedules',

'all_groups',

'all_ranks',

)

);

Config::Set('TABLE_LIST', array(

'acarsdata',

'adminlog',

'aircraft',

'airlines',

'airports',

'awards',

'awardsgranted',

'bids',

'customfields',

'downloads',

'expenselog',

'expenses',

'fieldvalues',

'financedata',

'fuelprices',

'groupmembers',

'groups',

'navdata',

'news',

'pages',

'pilots',

'pirepcomments',

'pirepfields',

'pireps',

'pirepvalues',

'ranks',

'schedules',

'sessions',

'settings',

'updates'

)

);

/* VACentral */

Config::Set('VACENTRAL_ENABLED', false);

Config::Set('VACENTRAL_DEBUG_MODE', false);

Config::Set('VACENTRAL_DEBUG_DETAIL', 0);

Config::Set('VACENTRAL_API_SERVER', 'http://api.phpvms.net');

Config::Set('VACENTRAL_API_KEY', '');

Config::Set('VACENTRAL_DATA_FORMAT', 'json');

/**

* Constants

* Do not modify these! All sorts of weird s*** can happen

*/

# Set the type of flights we have

Config::Set(

'FLIGHT_TYPES', array(

'P'=>'Passenger',

'C'=>'Cargo',

'H'=>'Charter'

)

);

# Set the types of expenses we have

Config::Set(

'EXPENSE_TYPES', array(

'M'=>'Monthly',

'F'=>'Per Flight',

'P'=>'Percent (month)',

'G'=>'Percent (per flight)'

)

);

/* These are pilot statuses which can be selected in

the admin panel. I would be weary of changing these!

Though you can safely change the name or messages or tweak

the additional settings provided

*/

Config::Set('PILOT_STATUS_TYPES', array(

/* DO NOT CHANGE THIS ACTIVE NUMBER OR STATUS OR THINGS WILL BREAK!!! */

0 => array(

'name' => 'Active', # The title to show in the dropdown

'message' => '', # Message to show if they can't login (below is false)

'default' => true, # Should this be their default status?

'canlogin' => true, # Are they allowed to log in

'active' => true, # Are they an active pilot?

'autoretire' => false, # Use this status for the auto-retire functionality

'group_add' => array( # ID or name of the group this user is added to with this status

'Active Pilots',

),

'group_remove' => array( # ID or name of the groups this user is removed from with this status

'Inactive Pilots',

),

),

/* DO NOT CHANGE THIS INACTIVE NUMBER OR STATUS OR THINGS WILL BREAK!!! */

1 => array(

'name' => 'Inactive',

'message' => 'Your account was marked inactive',

'default' => false,

'canlogin' => false,

'active' => false,

'autoretire' => false,

'group_add' => array(

'Inactive Pilots',

),

'group_remove' => array(

'Active Pilots',

),

),

2 => array(

'name' => 'Banned',

'message' => 'Your account is banned, please contact an admin!',

'default' => false,

'canlogin' => false,

'active' => false,

'autoretire' => false,

'group_add' => array(

'Inactive Pilots',

),

'group_remove' => array(

'Active Pilots',

),

),

3 => array(

'name' => 'On Leave',

'message' => 'You have been marked as on leave',

'default' => false,

'canlogin' => true,

'active' => false,

'autoretire' => true,

'group_add' => array(

'Inactive Pilots',

),

'group_remove' => array(

'Active Pilots',

),

),

));

define('SIGNATURE_PATH', '/lib/signatures');

define('AVATAR_PATH', '/lib/avatars');

# PIREP Statuses

define('PIREP_PENDING', 0);

define('PIREP_ACCEPTED', 1);

define('PIREP_REJECTED', 2);

define('PIREP_INPROGRESS', 3);

# Pilot Registration

define('PILOT_PENDING', 0);

define('PILOT_ACCEPTED', 1);

define('PILOT_REJECTED', 2);

# Constants for 'paysource' column in ledger

define('PAYSOURCE_PIREP', 1);

# Constants for 'paytype' column in ledge

define('PILOT_PAY_HOURLY', 1);

define('PILOT_PAY_SCHEDULE', 2);

define('PILOT_PAY_FIXED', 3);

# Activity Feed types

define('ACTIVITY_NEW_PIREP', 1);

define('ACTIVITY_NEW_PILOT', 2);

define('ACTIVITY_PROMOTION', 3);

define('ACTIVITY_NEW_AWARD', 4);

define('ACTIVITY_NEW_BID', 5);

define('ACTIVITY_TWITTER', 6);

define('TWITTER_STATUS_URL', 'http://api.twitter.com/1/statuses/user_timeline.json?include_entities=0&screen_name=');

define('NAV_NDB', 2);

define('NAV_VOR', 3);

define('NAV_DME', 4);

define('NAV_FIX', 5);

define('NAV_TRACK', 6);

define('LOAD_VARIATION', 5);

define('SECONDS_PER_DAY', 86400);

define('VMS_AUTH_COOKIE', 'VMSAUTH');

/**

* Library Includes (from 3rd Party)

*/

# Bit-masks for permission sets

$permission_set = array(

/*'NO_ADMIN_ACCESS' => 0,*/

'ACCESS_ADMIN' => 0x1,

'EDIT_NEWS' => 0x2,

'EDIT_PAGES' => 0x4,

'EDIT_DOWNLOADS' => 0x8,

'EMAIL_PILOTS' => 0x10,

'EDIT_AIRLINES' => 0x20,

'EDIT_FLEET' => 0x40,

'EDIT_SCHEDULES' => 0x80,

'IMPORT_SCHEDULES' => 0x100,

'MODERATE_REGISTRATIONS' => 0x200,

'EDIT_PILOTS' => 0x400,

'EDIT_GROUPS' => 0x800,

'EDIT_RANKS' => 0x1000,

'EDIT_AWARDS' => 0x2000,

'MODERATE_PIREPS' => 0x4000,

'EDIT_PIREPS_FIELDS' => 0x8000,

'VIEW_FINANCES' => 0x10000,

'EDIT_EXPENSES' => 0x20000,

'EDIT_SETTINGS' => 0x40000,

'EDIT_PROFILE_FIELDS' => 0x80000,

'EDIT_VACENTRAL' => 0x100000,

'MAINTENANCE' => 0x2000000,

//'CUSTOM_PERM1' => 0x4000000,

//'CUSTOM_PERM2' => 0x8000000,

//'CUSTOM_PERM3' => 0x10000000,

//'FULL_ADMIN' => 2147483647 // This is the supposed maximum, however it's still working!

'FULL_ADMIN' => 0x1FFFFFFF

);

# Discriptions for permission sets

$permission_discription = array(

/*'NO_ADMIN_ACCESS' => 0,*/

'ACCESS_ADMIN' => 'Give a user access to the administration panel. This is required if any other permissions are set.',

'EDIT_NEWS' => '(News & Content) Give a user access to add & edit the news & notams.',

'EDIT_PAGES' => '(News & Content) Give a user access to add & edit the pages.',

'EDIT_DOWNLOADS' => '(News & Content) Give a user access to add & edit the downloads.',

'EMAIL_PILOTS' => '(News & Content) Give a user access to email your pilots.',

'EDIT_AIRLINES' => '(Airline Operations) Give a user access to add & edit your airlines.',

'EDIT_FLEET' => '(Airline Operations) Give a user access to add & edit your fleet.',

'EDIT_SCHEDULES' => '(Airline Operations) Give a user access to add & edit schedules.',

'IMPORT_SCHEDULES' => '(Airline Operations) Give a user access to import and export schedules.',

'MODERATE_REGISTRATIONS' => '(Pilots & Groups) Allow a user to moderate new site registrations.',

'EDIT_PILOTS' => '(Pilots & Groups) Give a user access to edit your pilots.',

'EDIT_GROUPS' => '(Pilots & Groups) Give a user access to add & edit pilot groups. Might aswell just give them full admin.',

'EDIT_RANKS' => '(Pilots & Groups) Give a user access to add & edit ranks.',

'EDIT_AWARDS' => '(Pilots & Groups) Give a user access to add & edit awards.',

'MODERATE_PIREPS' => '(Pilot Reports (PIREPS)) Give a user access to moderate PIREPS',

'EDIT_PIREPS_FIELDS' => '(Pilot Reports (PIREPS)) Give a user access to add and edit PIREPS fields.',

'VIEW_FINANCES' => '(Reports & Expenses) Give a user access to view your finances.',

'EDIT_EXPENSES' => '(Reports & Expenses) Give a user access to edit your expenses.',

'EDIT_SETTINGS' => '(Site & Settings) Give a user access to edit your site settings.',

'EDIT_PROFILE_FIELDS' => '(Site & Settings) Give a user access to add and edit profile fields.',

'EDIT_VACENTRAL' => '(Site & Settings) Give a user access to edit your VACentral Settings.',

//'CUSTOM_PERM0' => 'Custom Discription of the permission',

//'CUSTOM_PERM1' => 'Custom Discription of the permission',

//'CUSTOM_PERM2' => 'Custom Discription of the permission',

//'CUSTOM_PERM3' => 'Custom Discription of the permission',

'FULL_ADMIN' => 'Full Administration Over-ride. This option will automatically overide all above settings, enabling all of them.'

);

Config::Set('permission_set', $permission_set);

Config::Set('permission_discription', $permission_discription);

define('NO_ADMIN_ACCESS', 0);

foreach($permission_set as $key=>$value) {

define($key, $value);

}

foreach($permission_discription as $key=>$value) {

define($key.'_DISCRIP', $value);

}

Link to comment
Share on other sites

in the /core/ folder you will find a file called App.config.php Open it and look for the following (usually around line 110)

# ACARS options
# Minutes, flights to show on the ACARS
# Default is 720 minutes (12 hours)
Config::Set('ACARS_LIVE_TIME', 720);
Config::Set('ACARS_DEBUG', false);

And change the ACARS_LIVE_TIME value to something like 5.

I hope this helped.

Regards,

Kishshey

http://skylinefsx.com

Hey,

It is not true. Read the line in app.config.php on line 19~28

/**
* DO NOT MODIFY THESE SETTINGS HERE!!
* They will get over-ridden in an update. These are just defaults
* To change, copy-paste and change the line/option/setting into your
* local.config.php file
*
* Most of these are in your local.config.php already
*
* View the docs for details about these settings
*/

Copy this codes (below) and paste your local.config.php in core/ folder. (Anywhere. Doesn't matter)

# ACARS options
# Minutes, flights to show on the ACARS
# Default is 720 minutes (12 hours)
Config::Set('ACARS_LIVE_TIME', 10);
Config::Set('ACARS_DEBUG', false);

P.S: 10 is the minutes of live time. I all set to 10 minutes live time. You're free to change this. Remember, it's minute value. Not hour!

Thanks!

Edited by alpyeni1
Link to comment
Share on other sites

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...