Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
typo3.org
t3o_membership
Commits
ec815108
Commit
ec815108
authored
Feb 09, 2016
by
Michael Stucki
Browse files
[TASK] Allow absolute paths for the scheduler task
parent
332c0636
Changes
1
Hide whitespace changes
Inline
Side-by-side
Classes/Task/ImportMembersTask.php
View file @
ec815108
...
...
@@ -48,7 +48,10 @@ class Tx_T3oMembership_Task_ImportMembersTask extends tx_scheduler_Task
}
// does the import file exist?
$importFile
=
t3lib_div
::
getFileAbsFileName
(
$this
->
getImportFile
());
$importFile
=
$this
->
getImportFile
();
if
(
!
t3lib_div
::
isAbsPath
(
$importFile
))
{
$importFile
=
t3lib_div
::
getFileAbsFileName
(
$importFile
);
}
if
(
!
file_exists
(
$importFile
))
{
t3lib_div
::
devLog
(
'[tx_scheduler_ImportMember]: no importfile - given value: '
.
$importFile
,
't3o_membership'
,
0
);
...
...
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