File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,10 @@ function carefulfmt($file)
46
46
} while (carefulfmt ($ file ) == $ last );
47
47
echo fetch ($ file );
48
48
} 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");
51
53
52
54
# this was grabbing things from kibotzer.com/yoodat (where the mathematica
53
55
# script wrote its files) and putting them in in yootles.com/data and it seems
Original file line number Diff line number Diff line change 8
8
}
9
9
10
10
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 `;
12
12
13
13
?>
You can’t perform that action at this time.
0 commit comments