Cron Uploader: Link to install guide & info from board config. And now i'm going to sleep before I want to change more...

This commit is contained in:
YaoiFox 2013-08-17 00:57:48 +02:00 committed by Shish
parent 5afeeb0991
commit a7c39105e7

View file

@ -147,6 +147,7 @@ class CronUploader extends Extension {
$this->root_dir = $this->set_dir();
$cron_url = make_http(make_link("/cron_upload/" . $config->get_string('cron_uploader_key', 'invalid key' )));
$cron_cmd = "wget $cron_url";
$documentation_link = make_http(make_link("cron_upload"));
$sb = new SetupBlock ( "Cron Uploader" );
$sb->add_label ( "<b>Settings</b><br>" );
@ -155,7 +156,7 @@ class CronUploader extends Extension {
$sb->add_label ("<br>Cron Command: <input type='text' size='60' value='$cron_cmd'><br>
Create a cron job with the command above.<br/>
<a href=''>Read the documentation</a> if you're not sure what to do.");
<a href='$documentation_link'>Read the documentation</a> if you're not sure what to do.");
$event->panel->add_block ( $sb );
}