projects
/
zf2.biz
/
application_blanche.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0974fe0
)
Remove date('Y') call in layout
author
Evan Coury
<me@evancoury.com>
Wed, 29 Feb 2012 14:36:47 +0000
(07:36 -0700)
committer
Evan Coury
<me@evancoury.com>
Wed, 29 Feb 2012 14:36:47 +0000
(07:36 -0700)
Replaced with static year. For some reason the date() function in PHP is
shockingly slow (3+ms on an i5) which is like 8% of the runtime in an optimized
benchmark.
module/Application/view/layout/layout.phtml
patch
|
blob
|
history
diff --git
a/module/Application/view/layout/layout.phtml
b/module/Application/view/layout/layout.phtml
index
1831fbb
..
622c108
100644
(file)
--- a/
module/Application/view/layout/layout.phtml
+++ b/
module/Application/view/layout/layout.phtml
@@
-63,7
+63,7
@@
echo $this->doctype();
<hr>
<footer>
- <p>© 2006 - <?php echo date('Y') ?> by Zend Technologies Ltd. All rights reserved.</p>
+ <p>© 2006 - 2012 by Zend Technologies Ltd. All rights reserved.</p>
</footer>
</div> <!-- /container -->