1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 12:47:38 +00:00

add update.php -indexes to recreate tt-rss indexes from schema file

This commit is contained in:
Andrew Dolgov
2012-08-09 14:20:27 +04:00
parent 8c5c4e494d
commit 871f0a7ac6
2 changed files with 68 additions and 0 deletions

View File

@@ -5469,4 +5469,16 @@
return $output;
}
}
function read_stdin() {
$fp = fopen("php://stdin", "r");
if ($fp) {
$line = trim(fgets($fp));
fclose($fp);
return $line;
}
return null;
}
?>