Changeset 159 for trunk/config-sample


Ignore:
Timestamp:
03/16/2006 05:30:30 AM (6 years ago)
Author:
cirrus
Message:

Added: Custom maps support. Ability to enable/disable map types (e.g. satellite, hybrid, etc.). Closes #100
Bugfix: Fixed foreach array error. Closes #98
Change: Gearth now uses title_small for the filename.
Change: Gearth default zoom location now calculated from the config file min/max lon/lat options.
Change: Suggest search minor javascript change.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/config-sample/config.php

    r145 r159  
    6060                'smtp' => '', // if not set default used from php.ini file 
    6161                'smtp_port' => '25', 
    62                 'from' => 'hostmaster@wind.cube.gr', 
     62                'from' => 'hostmaster@server.example.org', 
    6363                'from_name' => 'WiND Hostmaster' 
    6464                ), 
     
    7070        'gmap' => array( 
    7171                'server' => 'maps.google.com', 
     72                'maps_available' => array( 
     73                        'satellite' => true, 
     74                        'map' => false, 
     75                        'hybrid' => false, 
     76                        //Sample scripts for custom image map server can be found in the tools subdirectory 
     77                        /*'custom_maps' => array( 
     78                              0 => array( 
     79                                      'url' => 'http://server.example.org/maps/index.php?',  
     80                                      'name' => 'Custom1', 
     81                                      'coordinates_type' => 'map' 
     82                                      ), 
     83                                1 => array( 
     84                                        'url' => 'http://server.example.org/maps/index.php?', 
     85                                        'name' => 'Custom2', 
     86                                        'coordinates_type' => 'satellite' 
     87                                        ), 
     88                                ),*/ 
     89                        'default' => 'satellite' 
     90                        ), 
    7291                'keys' => array( // Domains must be as in $_SERVER['SERVER_NAME'] variable 
    7392                        'server.example.org/path' => 'example_key' 
Note: See TracChangeset for help on using the changeset viewer.