Fixed Polyline include path

This commit is contained in:
Justin Foell
2020-04-24 10:53:32 -05:00
parent b75f9809d4
commit 411f762865
+1 -1
View File
@@ -66,7 +66,7 @@ class WPStrava_StaticMap {
* }
*/
private static function decode_start_finish( $enc ) {
require_once WPSTRAVA_PLUGIN_DIR . 'includes/Polyline.php';
require_once WPSTRAVA_PLUGIN_DIR . 'src/Polyline.php';
$points = Polyline::decode( $enc );
$points = Polyline::pair( $points );
$start = $points[0];