Browse Source

Removed placeholders.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
4ac501f492
  1. 2
      framework/yii/views/errorHandler/error.php
  2. 2
      framework/yii/views/errorHandler/exception.php

2
framework/yii/views/errorHandler/error.php

@ -5,6 +5,7 @@
*/ */
$title = $handler->htmlEncode($exception instanceof \yii\base\Exception ? $exception->getName() : get_class($exception)); $title = $handler->htmlEncode($exception instanceof \yii\base\Exception ? $exception->getName() : get_class($exception));
?> ?>
<?php if (method_exists($this, 'beginPage')) $this->beginPage(); ?>
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
@ -64,3 +65,4 @@ $title = $handler->htmlEncode($exception instanceof \yii\base\Exception ? $excep
<?php if (method_exists($this, 'endBody')) $this->endBody(); // to allow injecting code into body (mostly by Yii Debug Toolbar) ?> <?php if (method_exists($this, 'endBody')) $this->endBody(); // to allow injecting code into body (mostly by Yii Debug Toolbar) ?>
</body> </body>
</html> </html>
<?php if (method_exists($this, 'endPage')) $this->endPage(); ?>

2
framework/yii/views/errorHandler/exception.php

@ -4,6 +4,7 @@
* @var \yii\base\ErrorHandler $handler * @var \yii\base\ErrorHandler $handler
*/ */
?> ?>
<?php if (method_exists($this, 'beginPage')) $this->beginPage(); ?>
<!doctype html> <!doctype html>
<html lang="en-us"> <html lang="en-us">
@ -488,3 +489,4 @@ window.onload = function() {
</body> </body>
</html> </html>
<?php if (method_exists($this, 'endPage')) $this->endPage(); ?>

Loading…
Cancel
Save