Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

New defaults for server setup, TODO comments

  • Loading branch information...
commit 0e4f83fe72516267d2b7266adb22e034eba56506 1 parent f3b9d73
@jdpurdyvi jdpurdyvi authored maxolasersquad committed
View
2  pos/backend/define.conf
@@ -28,7 +28,7 @@ $_SESSION["laneUser"] = "is4clane";
$_SESSION["lanePass"] = "is4clane";
define("LANE01", "10.0.0.201");
-define("LANE02", "");
+define("Pylos", "10.10.10.53");
define("LANE03", "");
define("LANE04", "");
define("LANE05", "");
View
2  pos/backend/sync/reload.php
@@ -57,7 +57,7 @@
// TODO - Auto generate lanes from define.conf, for now, hardcode
$lanes=array(
- array('Name'=>'Lane 01', 'IP'=>'10.10.10.115')
+ array('Name'=>'Lane 01', 'IP'=>'10.10.10.53')
);
foreach ($lanes as $lane) {
View
1  pos/backend/sync/synchronizeproducts.php
@@ -7,6 +7,7 @@ function make_synchronization_query() {
$query='SELECT `synchronizationLog`.`datetime` FROM `is4c_log`.`synchronizationLog` WHERE `synchronizationLog`.`name`=\'products\' AND `synchronizationLog`.`status`=1 ORDER BY `synchronizationLog`.`datetime` DESC LIMIT 1';
$result=mysql_query($query, $link);
+ // TODO, if unable to find last sync datetime, sync whole table?
if ($result && mysql_num_rows($result)==1) {
$row=mysql_fetch_array($result);
Please sign in to comment.
Something went wrong with that request. Please try again.