Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
6a273ff6
Commit
6a273ff6
authored
Nov 14, 2006
by
Martyn Smith
Committed by
Martyn Smith
Nov 14, 2006
Browse files
Added config file detection
parent
7018f9eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/crontest.php
View file @
6a273ff6
...
...
@@ -181,8 +181,9 @@ function test_cron_start($text) {
function
test_cron_run
(
$stamp
)
{
global
$cronscript
;
$config_file
=
get_cfg_var
(
'cfg_file_path'
);
exec
(
"php
$cronscript
"
.
escapeshellarg
(
$stamp
));
exec
(
"php
-c
$config_file
$cronscript
"
.
escapeshellarg
(
$stamp
));
}
function
test_cron_finish
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment