モデル、コントローラー、ビューをコンソールでベイクしました。次に、View/xxx/index.ctp の内容を変更しましたが、変更が Web ページに反映されません。
何が間違っている可能性がありますか?
編集:キャッシュは使用されていません
View/ログ/index.ctp
<div class="logs index">
<h2><?php echo __('SystemLogs');?></h2>
<table cellpadding="0" cellspacing="0">
<tr>
<th><?php echo $this->Paginator->sort('isError');?></th>
<th><?php echo $this->Paginator->sort('id');?></th>
<th><?php echo $this->Paginator->sort('timestamp');?></th>
<th><?php echo $this->Paginator->sort('category');?></th>
<th><?php echo $this->Paginator->sort('action');?></th>
<th><?php echo $this->Paginator->sort('detail');?></th>
</tr>
<?php
foreach ($logs as $log): ?>
<tr>
<td>
<?php
if (($log['Log']['isError'] == 1){
echo h("ERR");
}else{
echo h("NFO");
}
?> </td>
<td><?php echo h($log['Log']['id']); ?> </td>
<td><?php echo h($log['Log']['timestamp']); ?> </td>
<td><?php echo h($log['Log']['category']); ?> </td>
<td><?php echo h($log['Log']['action']); ?> </td>
<td><?php echo h($log['Log']['detail']); ?> <br>
(User: <?php echo h($log['Log']['userID']); ?>)<br>
(PersID: <?php echo h($log['Log']['PersonalID']); ?>)
</td>
</tr>
<?php endforeach; ?>
</table>
<p>
<?php
echo $this->Paginator->counter(array(
'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
));
?> </p>
<div class="paging">
<?php
echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
echo $this->Paginator->numbers(array('separator' => ''));
echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
?>
</div>
</div>
モデル/Log.php
<?php
App::uses('AppModel', 'Model');
/**
* Log Model
*
*/
class Log extends AppModel {
/**
* Display field
*
* @var string
*/
var $order = "Log.timestamp desc";
public $displayField = 'detail';
}
コントローラー/LogsController.php
<?php
App::uses('AppController', 'Controller');
/**
* Logs Controller
*
*/
class LogsController extends AppController {
/**
* Scaffold
*
* @var mixed
*/
var $name = "Logs";
public $scaffold;
}