diff options
author | nashe <contact@nashe.fr> | 2015-08-11 12:04:53 +0200 |
---|---|---|
committer | nashe <contact@nashe.fr> | 2015-08-11 12:04:53 +0200 |
commit | b84b865d45b00600d982fef18991398cb655c7e9 (patch) | |
tree | 5f3d0432facd74395d029c480bb79d9e0669eb01 /custom/views/archive/index.tpl.php | |
parent | f2788a4ed2eae7f0056ab200b8fc787ed20a32da (diff) | |
download | planet-b84b865d45b00600d982fef18991398cb655c7e9.tar planet-b84b865d45b00600d982fef18991398cb655c7e9.tar.gz planet-b84b865d45b00600d982fef18991398cb655c7e9.tar.bz2 planet-b84b865d45b00600d982fef18991398cb655c7e9.tar.xz planet-b84b865d45b00600d982fef18991398cb655c7e9.zip |
Clean code
Replace dirname(__FILE__) by __DIR__.
Diffstat (limited to 'custom/views/archive/index.tpl.php')
-rwxr-xr-x | custom/views/archive/index.tpl.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/custom/views/archive/index.tpl.php b/custom/views/archive/index.tpl.php index 2bb8f36..16bc6ab 100755 --- a/custom/views/archive/index.tpl.php +++ b/custom/views/archive/index.tpl.php @@ -29,12 +29,12 @@ header('Content-type: text/html; charset=UTF-8'); <meta http-equiv="Content-Style-Type" content="text/css" /> <title><?php echo $PlanetConfig->getName(); ?></title> - <?php include(dirname(__FILE__).'/head.tpl.php'); ?> + <?php include(__DIR__.'/head.tpl.php'); ?> </head> <body> <div id="page"> - <?php include(dirname(__FILE__).'/top.tpl.php'); ?> + <?php include(__DIR__.'/top.tpl.php'); ?> <div id="content"> <?php if (0 == count($items)) :?> @@ -106,9 +106,9 @@ header('Content-type: text/html; charset=UTF-8'); <?php endif; ?> </div> - <?php include_once(dirname(__FILE__).'/sidebar.tpl.php'); ?> + <?php include_once(__DIR__.'/sidebar.tpl.php'); ?> - <?php include(dirname(__FILE__).'/footer.tpl.php'); ?> + <?php include(__DIR__.'/footer.tpl.php'); ?> </div> </body> </html> |