We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b983c4 commit c0495beCopy full SHA for c0495be
scripts/fetch-chms.php
@@ -1,13 +1,14 @@
1
<?php
2
define("DEBUG", 0);
3
-$BUILDDIR = "https://www.mumumu.org/chm";
+$BUILDDIR = "http://www.mumumu.org/chm";
4
$TMPDIR = sys_get_temp_dir();
5
$CHMDIR = "/local/mirrors/phpweb/distributions/manual";
6
7
$chminfo = "$BUILDDIR/build.log";
8
-fetch($chminfo, tempnam(sys_get_temp_dir(), "chm"));
+$tmpfilename = tempnam(sys_get_temp_dir(), "chm");
9
+fetch($chminfo, $tmpfilename);
10
-$chms = file($chminfo, FILE_IGNORE_NEW_LINES|FILE_SKIP_EMPTY_LINES);
11
+$chms = file($tmpfilename, FILE_IGNORE_NEW_LINES|FILE_SKIP_EMPTY_LINES);
12
if (!$chms) {
13
err("No chm info\n");
14
return 1;
0 commit comments