Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2011
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.68 KB | None | 0 0
  1. <?php
  2.  
  3. /**
  4. * This is the phpVMS Main Configuration File
  5. *
  6. * This file won't be modified/touched by future versions
  7. * of phpVMS, you can change your settings here
  8. *
  9. * There may also be additional settings in app.config.php
  10. * To change it, copy the line into this file here, for the
  11. * settings to take effect
  12. *
  13. */
  14. MySQL DETAILS HERE
  15.  
  16. define('TABLE_PREFIX', 'phpvms_');
  17.  
  18. define('SITE_URL', 'http://cvcharters.com');
  19.  
  20. # Page encoding options
  21.  
  22. # Maintenance mode - this disables the site to non-admins
  23. Config::Set('MAINTENANCE_MODE', false);
  24. Config::Set('MAINTENANCE_MESSAGE', 'We are currently down for maintenance, please check back soon.');
  25.  
  26. # See more details about these in the docs
  27. Config::Set('PAGE_EXT', '.htm'); # .htm is fine. You can still run PHP
  28. Config::Set('PILOTID_OFFSET', 0); # What # to start pilot ID's from
  29. Config::Set('PILOTID_LENGTH', 3); # Length of the Pilot ID
  30. Config::Set('UNITS', 'nm'); # Your units: nm, mi or km
  31. Config::Set('LOAD_FACTOR', '82'); # %age load factor
  32. Config::Set('CARGO_UNITS', 'lbs');
  33.  
  34. # After how long to mark a pilot inactive, in days
  35. Config::Set('PILOT_AUTO_RETIRE', true);
  36. Config::Set('PILOT_INACTIVE_TIME', 90);
  37.  
  38. # Automatically confirm pilots?
  39. Config::Set('PILOT_AUTO_CONFIRM', false);
  40.  
  41. # Automatically calculate ranks?
  42. Config::Set('RANKS_AUTOCALCULATE', true);
  43.  
  44. # For how many hours a pilot can edit their submitted PIREP (custom fields only)
  45. Config::Set('PIREP_CUSTOM_FIELD_EDIT', '48');
  46.  
  47. # If someone places a bid, whether to disable that or not
  48. Config::Set('DISABLE_SCHED_ON_BID', false);
  49. Config::Set('DISABLE_BIDS_ON_BID', true);
  50.  
  51. # If you want to count transfer hours in rank calculations
  52. Config::Set('TRANSFER_HOURS_IN_RANKS', true);
  53.  
  54. # The StatsData::UserOnline() function - how many minutes to check
  55. Config::Set('USERS_ONLINE_TIME', 20);
  56.  
  57. # Google Map Options
  58. Config::Set('MAP_WIDTH', '800px');
  59. Config::Set('MAP_HEIGHT', '600px');
  60. # Valid types are G_NORMAL_MAP, G_SATELLITE_MAP, G_HYBRID_MAP, G_PHYSICAL_MAP
  61. Config::Set('MAP_TYPE', 'G_PHYSICAL_MAP');
  62. Config::Set('MAP_LINE_COLOR', '#ff0000');
  63. Config::Set('MAP_CENTER_LAT', '45.484400');
  64. Config::Set('MAP_CENTER_LNG', '-62.334821');
  65. Config::Set('MAP_ZOOM_LEVEL', 12);
  66. Config::Set('DEBUG_MODE', true);
  67. # ACARS options
  68. # Minutes, flights to show on the ACARS
  69. # Default is 720 minutes (12 hours)
  70. Config::Set('ACARS_LIVE_TIME', 360);
  71. Config::Set('ACARS_DEBUG', false);
  72. Config::Set('DEBUG_MODE', true);
  73. Config::Set('VACENTRAL_ENABLED', true);
  74. Config::Set('VACENTRAL_API_SERVER', 'http://api.phpvms.net');
  75. Config::Set('VACENTRAL_API_KEY', 'No api code for you');
  76. /*
  77. This is the unit of money. For non-dollars, use :
  78. Dollars ($), enter "$"
  79. Euro (
  80.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement