summaryrefslogtreecommitdiffstats
path: root/custom/views/archive/index.tpl.php
diff options
context:
space:
mode:
authornashe <contact@nashe.fr>2015-08-11 12:04:53 +0200
committernashe <contact@nashe.fr>2015-08-11 12:04:53 +0200
commitb84b865d45b00600d982fef18991398cb655c7e9 (patch)
tree5f3d0432facd74395d029c480bb79d9e0669eb01 /custom/views/archive/index.tpl.php
parentf2788a4ed2eae7f0056ab200b8fc787ed20a32da (diff)
downloadplanet-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-xcustom/views/archive/index.tpl.php8
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>