Class referenced with incorrect case
This commit is contained in:
@@ -51,7 +51,7 @@ class Daemon
|
||||
*/
|
||||
public function start($name, $callable, $params = array())
|
||||
{
|
||||
$file = new file();
|
||||
$file = new File();
|
||||
if (! $file->is_writeable($this->runDir)) {
|
||||
throw new \Exception(sprintf(
|
||||
"Run Directory '%s' is not writeable",
|
||||
@@ -73,7 +73,7 @@ class Daemon
|
||||
), 500);
|
||||
}
|
||||
}
|
||||
$fork = new fork();
|
||||
$fork = new Fork();
|
||||
$pid = $fork->startDetachedChild($name, $callable, $params);
|
||||
file_put_contents($this->runDir . "/$name.pid", $pid);
|
||||
return $pid;
|
||||
@@ -89,7 +89,7 @@ class Daemon
|
||||
*/
|
||||
public function stop($name, $maxWaitStop = 3, $maxWaitKill = 3)
|
||||
{
|
||||
$file = new file();
|
||||
$file = new File();
|
||||
if (! $file->is_writeable($this->runDir)) {
|
||||
throw new \Exception(sprintf(
|
||||
"Run Directory '%s' is not writeable",
|
||||
|
||||
@@ -197,7 +197,7 @@ class GraphStyleLinePoints
|
||||
$this->pointShape = $this->allowedShapes[
|
||||
($number % count($this->allowedShapes))];
|
||||
}
|
||||
$palette = graphPalette::getPalette($this->palette);
|
||||
$palette = GraphPalette::getPalette($this->palette);
|
||||
if ($this->pointBgcolor === null) {
|
||||
$this->pointBgcolor = $palette[($number % count($palette))]["bgcolor"];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user