Code Context $result = unlink($filepath);
} else {
$result = rename($filepath, $filepath . '.' . time());
$filename = 'sql.log'
$filepath = '/home/uniform1.com/htdocs/cakephp2/app/tmp/logs/sql.log'
$result = null
rename - [internal], line ??
FileLog::_rotateFile() - CORE/Cake/Log/Engine/FileLog.php, line 205
FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 137
CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 445
CakeObject::log() - CORE/Cake/Core/CakeObject.php, line 162
AppModel::find() - APP/Model/AppModel.php, line 42
Item::getSakuinInfo() - APP/Model/Item.php, line 33
include - /home/uniform1sp.com/htdocs/common/item/mod_item_sakuin_head.php, line 14
require_once - /home/uniform1sp.com/htdocs/common/item/mod_item_sakuin.php, line 10
[main] - /home/uniform1sp.com/htdocs/mod_rewrite.php, line 50