Skip to content

Commit c7817d5

Browse files
committed
Fussing with specifying full paths
1 parent 53a0b02 commit c7817d5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

longpolling.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@ function carefulfmt($file)
4646
} while(carefulfmt($file) == $last);
4747
echo fetch($file);
4848
} else { # do the thing that makes $file change
49-
#$addendum = `/usr/local/bin/mash ledger.m $ledg`;
50-
$addendum = file_get_contents("http://yootles.com/yootles.php?ledger=$ledg");
49+
# the 2nd version with file_get_contents was working for years until around
50+
# 2018-07-20 when it stopped so i'm trying the first version
51+
$addendum = `/usr/local/bin/mash ledger.m $ledg`;
52+
#$addendum = file_get_contents("http://yootles.com/yootles.php?ledger=$ledg");
5153

5254
# this was grabbing things from kibotzer.com/yoodat (where the mathematica
5355
# script wrote its files) and putting them in in yootles.com/data and it seems

yootles.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
}
99

1010
header('Content-type: text/plain');
11-
echo `/usr/local/bin/mash ledger.m $ledg`;
11+
echo `/usr/local/bin/mash /var/www/html/yootles/ledger.m $ledg`;
1212

1313
?>

0 commit comments

Comments
 (0)