Skip to content
This repository
Browse code

New defaults for server setup, TODO comments

  • Loading branch information...
commit 0e4f83fe72516267d2b7266adb22e034eba56506 1 parent f3b9d73
purdy jdpurdyvi authored maxolasersquad committed
2  pos/backend/define.conf
@@ -28,7 +28,7 @@ $_SESSION["laneUser"] = "is4clane";
28 28 $_SESSION["lanePass"] = "is4clane";
29 29
30 30 define("LANE01", "10.0.0.201");
31   -define("LANE02", "");
  31 +define("Pylos", "10.10.10.53");
32 32 define("LANE03", "");
33 33 define("LANE04", "");
34 34 define("LANE05", "");
2  pos/backend/sync/reload.php
@@ -57,7 +57,7 @@
57 57
58 58 // TODO - Auto generate lanes from define.conf, for now, hardcode
59 59 $lanes=array(
60   - array('Name'=>'Lane 01', 'IP'=>'10.10.10.115')
  60 + array('Name'=>'Lane 01', 'IP'=>'10.10.10.53')
61 61 );
62 62
63 63 foreach ($lanes as $lane) {
1  pos/backend/sync/synchronizeproducts.php
@@ -7,6 +7,7 @@ function make_synchronization_query() {
7 7 $query='SELECT `synchronizationLog`.`datetime` FROM `is4c_log`.`synchronizationLog` WHERE `synchronizationLog`.`name`=\'products\' AND `synchronizationLog`.`status`=1 ORDER BY `synchronizationLog`.`datetime` DESC LIMIT 1';
8 8 $result=mysql_query($query, $link);
9 9
  10 + // TODO, if unable to find last sync datetime, sync whole table?
10 11 if ($result && mysql_num_rows($result)==1) {
11 12 $row=mysql_fetch_array($result);
12 13

0 comments on commit 0e4f83f

Please sign in to comment.
Something went wrong with that request. Please try again.