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)
|
||||
{
|
||||
case 'a': $t = fileatime($this->filename);
|
||||
case 'a': $t = fileatime($this->file_path());
|
||||
break;
|
||||
|
||||
case 'c': $t = filectime($this->filename);
|
||||
case 'c': $t = filectime($this->file_path());
|
||||
break;
|
||||
|
||||
case 'm': $t = filemtime($this->filename);
|
||||
case 'm': $t = filemtime($this->file_path());
|
||||
break;
|
||||
}
|
||||
|
||||
@ -489,7 +489,7 @@ abstract class Catalog extends Model
|
||||
{
|
||||
$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