Revert some file_path() calls
This commit is contained in:
parent
d84412e9b1
commit
0b6b3021fd
@ -201,13 +201,13 @@ abstract class Catalog extends Model
|
|||||||
|
|
||||||
switch ($type)
|
switch ($type)
|
||||||
{
|
{
|
||||||
case 'a': $t = fileatime($this->filename);
|
case 'a': $t = fileatime($this->file_path());
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'c': $t = filectime($this->filename);
|
case 'c': $t = filectime($this->file_path());
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'm': $t = filemtime($this->filename);
|
case 'm': $t = filemtime($this->file_path());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -489,7 +489,7 @@ abstract class Catalog extends Model
|
|||||||
{
|
{
|
||||||
$this->signature = $this->property('signature');
|
$this->signature = $this->property('signature');
|
||||||
|
|
||||||
$this->file_signature = md5_file($this->filename);
|
$this->file_signature = md5_file($this->file_path());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user