Permalink
Browse files

New defaults for server setup, TODO comments

  • Loading branch information...
1 parent f3b9d73 commit 0e4f83fe72516267d2b7266adb22e034eba56506 @jdpurdyvi jdpurdyvi committed with maxolasersquad Jul 14, 2010
Showing with 3 additions and 2 deletions.
  1. +1 −1 pos/backend/define.conf
  2. +1 −1 pos/backend/sync/reload.php
  3. +1 −0 pos/backend/sync/synchronizeproducts.php
View
@@ -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", "");
@@ -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) {
@@ -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);

0 comments on commit 0e4f83f

Please sign in to comment.