/admin/
This commit is contained in:
15
www/extern/egh/ExtendedGitGraph.php
vendored
15
www/extern/egh/ExtendedGitGraph.php
vendored
@@ -66,11 +66,9 @@ class ExtendedGitGraph
|
||||
$_SESSION[self::PROGRESS_SESSION_COOKIE] .= $txt . "\r\n";
|
||||
session_commit();
|
||||
}
|
||||
else if ($this->outputMode === self::OUT_STDOUT)
|
||||
{
|
||||
print $txt;
|
||||
print "\r\n";
|
||||
}
|
||||
|
||||
print $txt;
|
||||
print "\r\n";
|
||||
|
||||
$logfile = Utils::sharpFormat($this->logFilePath, ['num'=>'']);
|
||||
file_put_contents($logfile, $txt.PHP_EOL , FILE_APPEND | LOCK_EX);
|
||||
@@ -181,4 +179,11 @@ class ExtendedGitGraph
|
||||
{
|
||||
return $this->renderedHTML;
|
||||
}
|
||||
|
||||
public function getAll()
|
||||
{
|
||||
$all = '';
|
||||
foreach ($this->get() as $year => $html) $all .= $html . "\n";
|
||||
return $all;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user