Skip to content

Commit

Permalink
Added small info about user-cron pathes
Browse files Browse the repository at this point in the history
  • Loading branch information
5050 committed Oct 17, 2014
1 parent aaacff4 commit de5658d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modules/cron/code/controller.ext.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,12 @@ static function getCreateCron()
$line .= "<table class=\"table table-striped\">";
$line .= "<tr valign=\"top\">";
$line .= "<th>" . ui_language::translate("Script") . ":</th>";
$line .= "<td><input name=\"inScript\" type=\"text\" id=\"inScript\" size=\"50\" /><br />" . ui_language::translate("example") . ": /folder/task.php</td>";
$line .= '<td><input name="inScript" type="text" id="inScript" size="50" /><br />'
. ui_language::translate("example") . ': /folder/task.php<br>'
. ui_language::translate('Note 1 : Script path is relative to your sentora-user root directory:') . '<br>'
. ' &nbsp; <b>' . ctrl_options::GetSystemOption('hosted_dir') . $currentuser['username'] . '/public_html/</b><br>'
. ui_language::translate('Note 2 : Each file access in your script must use absolute directory path as above.')
. '</td>';
$line .= "</tr>";
$line .= "<tr>";
$line .= "<th>" . ui_language::translate("Comment") . ":</th>";
Expand Down

0 comments on commit de5658d

Please sign in to comment.