settings->get($table."::".$record); } public function dbSet($table, $record, $value) { return $this->settings->set($table."::".$record, $value); } /* | Notifications | | notify("text"); | notifyAfter("text"); */ public function notify($text) { $this->dbSet("blueprint", "notification:text", $text); shell_exec("cd /var/www/".$this->placeholder->folder().";echo \"$text\" > .blueprint/.storage/notification;"); return; } public function notifyAfter($delay, $text) { $this->dbSet("blueprint", "notification:text", $text); shell_exec("cd /var/www/".$this->placeholder->folder().";echo \"$text\" > .blueprint/.storage/notification;"); header("Refresh:$delay"); return; } }