substituted explode for split
This commit is contained in:
parent
75b68e9e58
commit
5955ddcddf
@ -22,6 +22,10 @@
|
|||||||
chgrp -R "${GROUP}" "@DEPOTDIR@/svnrepo"
|
chgrp -R "${GROUP}" "@DEPOTDIR@/svnrepo"
|
||||||
chmod 0775 "@DEPOTDIR@/svnrepo"
|
chmod 0775 "@DEPOTDIR@/svnrepo"
|
||||||
}
|
}
|
||||||
|
[ "${filesdir}" = "1" ] && {
|
||||||
|
chgrp -R "${GROUP}" "@DEPOTDIR@/files"
|
||||||
|
chmod 0775 "@DEPOTDIR@/files"
|
||||||
|
}
|
||||||
[ "${attachmentsdir}" = "1" ] && {
|
[ "${attachmentsdir}" = "1" ] && {
|
||||||
chgrp -R "${GROUP}" "@DEPOTDIR@/attachments"
|
chgrp -R "${GROUP}" "@DEPOTDIR@/attachments"
|
||||||
chmod 0775 "@DEPOTDIR@/attachments"
|
chmod 0775 "@DEPOTDIR@/attachments"
|
||||||
|
@ -75,7 +75,8 @@ class LogModel extends Model
|
|||||||
|
|
||||||
if ($row->action == 'commit')
|
if ($row->action == 'commit')
|
||||||
{
|
{
|
||||||
list($type,$repo,$rev) = split('[,]', $row->message);
|
//list($type,$repo,$rev) = split('[,]', $row->message);
|
||||||
|
list($type,$repo,$rev) = explode(',', $row->message);
|
||||||
|
|
||||||
$tmp['type'] = $type;
|
$tmp['type'] = $type;
|
||||||
$tmp['repo'] = $repo;
|
$tmp['repo'] = $repo;
|
||||||
@ -99,7 +100,8 @@ class LogModel extends Model
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
list($type,$repo,$rev,$propname,$action) = split('[,]', $row->message);
|
//list($type,$repo,$rev,$propname,$action) = split('[,]', $row->message);
|
||||||
|
list($type,$repo,$rev,$propname,$action) = explode(',', $row->message);
|
||||||
|
|
||||||
$tmp['type'] = $type;
|
$tmp['type'] = $type;
|
||||||
$tmp['repo'] = $repo;
|
$tmp['repo'] = $repo;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user