8398c9048d
code was modified slightly, so the code differs from the original downloadable 1.9.5 version
11 lines
407 B
PHTML
11 lines
407 B
PHTML
<?php
|
|
require_once 'PHPUnit/Util/Filter.php';
|
|
|
|
PHPUnit_Util_Filter::addFileToFilter(__FILE__);
|
|
|
|
$content = $this->render($this->content);
|
|
require_once 'Zend/Log.php';
|
|
require_once 'Zend/Log/Writer/Stream.php';
|
|
$logger = new Zend_Log(new Zend_Log_Writer_Stream(dirname(__FILE__) . '/view.log'));
|
|
$logger->log(var_export($content, 1), Zend_Log::DEBUG);
|
|
$logger->log(var_export(__FILE__, 1), Zend_Log::DEBUG);
|