Index: trunk/extensions/SemanticMaps/Services/YahooMaps/SM_YahooMaps.php |
— | — | @@ -21,7 +21,7 @@ |
22 | 22 | } |
23 | 23 | |
24 | 24 | $wgAutoloadClasses['SMYahooMapsQP'] = dirname( __FILE__ ) . '/SM_YahooMapsQP.php'; |
25 | | -if ( class_exists( 'SMFormInput' ) ) $wgAutoloadClasses['SMYahooMapsFormInput'] = dirname( __FILE__ ) . '/SM_YahooMapsFormInput.php'; |
| 25 | +if ( defined( 'SF_VERSION' ) ) $wgAutoloadClasses['SMYahooMapsFormInput'] = dirname( __FILE__ ) . '/SM_YahooMapsFormInput.php'; |
26 | 26 | |
27 | 27 | $egMapsServices['yahoomaps']['features']['qp'] = 'SMYahooMapsQP'; |
28 | 28 | $egMapsServices['yahoomaps']['features']['fi'] = 'SMYahooMapsFormInput'; |
\ No newline at end of file |
Index: trunk/extensions/SemanticMaps/Services/OpenLayers/SM_OpenLayers.php |
— | — | @@ -21,7 +21,7 @@ |
22 | 22 | } |
23 | 23 | |
24 | 24 | $wgAutoloadClasses['SMOpenLayersQP'] = dirname( __FILE__ ) . '/SM_OpenLayersQP.php'; |
25 | | -if ( class_exists( 'SMFormInput' ) ) $wgAutoloadClasses['SMOpenLayersFormInput'] = dirname( __FILE__ ) . '/SM_OpenLayersFormInput.php'; |
| 25 | +if ( defined( 'SF_VERSION' ) ) $wgAutoloadClasses['SMOpenLayersFormInput'] = dirname( __FILE__ ) . '/SM_OpenLayersFormInput.php'; |
26 | 26 | |
27 | 27 | $egMapsServices['openlayers']['features']['qp'] = 'SMOpenLayersQP'; |
28 | 28 | $egMapsServices['openlayers']['features']['fi'] = 'SMOpenLayersFormInput'; |
\ No newline at end of file |
Index: trunk/extensions/SemanticMaps/Services/GoogleMaps/SM_GoogleMaps.php |
— | — | @@ -21,7 +21,7 @@ |
22 | 22 | } |
23 | 23 | |
24 | 24 | $wgAutoloadClasses['SMGoogleMapsQP'] = dirname( __FILE__ ) . '/SM_GoogleMapsQP.php'; |
25 | | -if ( class_exists( 'SMFormInput' ) ) $wgAutoloadClasses['SMGoogleMapsFormInput'] = dirname( __FILE__ ) . '/SM_GoogleMapsFormInput.php'; |
| 25 | +if ( defined( 'SF_VERSION' ) ) $wgAutoloadClasses['SMGoogleMapsFormInput'] = dirname( __FILE__ ) . '/SM_GoogleMapsFormInput.php'; |
26 | 26 | |
27 | 27 | $egMapsServices['googlemaps2']['features']['qp'] = 'SMGoogleMapsQP'; |
28 | 28 | $egMapsServices['googlemaps2']['features']['fi'] = 'SMGoogleMapsFormInput'; |
\ No newline at end of file |