Fix conflicting files
This commit is contained in:
@@ -664,11 +664,6 @@ class Spot extends Main
|
|||||||
|
|
||||||
public function addPosition($sLat, $sLng, $iTimestamp) {
|
public function addPosition($sLat, $sLng, $iTimestamp) {
|
||||||
$oFeed = new Feed($this->oDb, $this->oProject->getFeedIds()[0]);
|
$oFeed = new Feed($this->oDb, $this->oProject->getFeedIds()[0]);
|
||||||
<<<<<<< HEAD:inc/Spot.php
|
|
||||||
$bResult = ($oFeed->addManualPosition($sLat, $sLng, $iTimestamp) > 0);
|
|
||||||
|
|
||||||
return self::getJsonResult($bResult, $bResult?'':$this->oDb->getLastError());
|
|
||||||
=======
|
|
||||||
$bSuccess = ($oFeed->addManualPosition($sLat, $sLng, $iTimestamp) > 0);
|
$bSuccess = ($oFeed->addManualPosition($sLat, $sLng, $iTimestamp) > 0);
|
||||||
|
|
||||||
if($bSuccess) {
|
if($bSuccess) {
|
||||||
@@ -678,7 +673,6 @@ class Spot extends Main
|
|||||||
else $sDesc = 'error.commit_db';
|
else $sDesc = 'error.commit_db';
|
||||||
|
|
||||||
return self::getJsonResult($bSuccess, $sDesc);
|
return self::getJsonResult($bSuccess, $sDesc);
|
||||||
>>>>>>> vue:lib/Spot.php
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getAdminSettings($sType='') {
|
public function getAdminSettings($sType='') {
|
||||||
|
|||||||
@@ -79,12 +79,6 @@ if($sAction!='')
|
|||||||
break;
|
break;
|
||||||
case 'add_position':
|
case 'add_position':
|
||||||
$sResult = $oSpot->addPosition($sLat, $sLng, $iTimestamp);
|
$sResult = $oSpot->addPosition($sLat, $sLng, $iTimestamp);
|
||||||
<<<<<<< HEAD:index.php
|
|
||||||
break;
|
|
||||||
case 'admin_new':
|
|
||||||
$sResult = $oSpot->createProject();
|
|
||||||
=======
|
|
||||||
>>>>>>> vue:lib/index.php
|
|
||||||
break;
|
break;
|
||||||
case 'admin_get':
|
case 'admin_get':
|
||||||
$sResult = $oSpot->getAdminSettings();
|
$sResult = $oSpot->getAdminSettings();
|
||||||
|
|||||||
@@ -25,14 +25,6 @@
|
|||||||
## Getting started
|
## Getting started
|
||||||
|
|
||||||
1. Clone Git onto web server
|
1. Clone Git onto web server
|
||||||
<<<<<<< HEAD
|
|
||||||
2. Install dependencies & update php.ini parameters
|
|
||||||
3. Copy timezone data: mariadb_tzinfo_to_sql /usr/share/zoneinfo | mariadb -u root mysql
|
|
||||||
4. Copy settings-sample.php to settings.php and populate
|
|
||||||
5. Go to #admin and create a new project, feed & maps
|
|
||||||
6. Add a GPX file named <project_codename>.gpx to /geo/
|
|
||||||
7. Run composer install
|
|
||||||
=======
|
|
||||||
2. composer install
|
2. composer install
|
||||||
3. npm install webpack
|
3. npm install webpack
|
||||||
4. npm run dev
|
4. npm run dev
|
||||||
@@ -42,7 +34,6 @@
|
|||||||
8. Go to #admin and create a new project, feed & maps
|
8. Go to #admin and create a new project, feed & maps
|
||||||
9. Add a GPX file named <project_codename>.gpx to /geo/
|
9. Add a GPX file named <project_codename>.gpx to /geo/
|
||||||
|
|
||||||
>>>>>>> vue
|
|
||||||
## To Do List
|
## To Do List
|
||||||
|
|
||||||
* Add mail frequency slider
|
* Add mail frequency slider
|
||||||
|
|||||||
Reference in New Issue
Block a user