-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.php
31 lines (28 loc) · 877 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
/**
* index.php - Main template file, calls custom project template
*
* @version 2.4.1
* @package tpl_lyquix
* @author Lyquix
* @copyright Copyright (C) 2015 - 2018 Lyquix
* @license GNU General Public License version 2 or later
* @link https://github.com/Lyquix/tpl_lyquix
*/
// No direct access
defined('_JEXEC') or die('Restricted access');
/**
*** NOTICE: Do not modify this file!
*** If you need to customize your template, create a file named custom.php
*** You may rename the included file custom.dist.php
**/
if(file_exists(__DIR__ . '/custom.php')) :
require __DIR__ . '/custom.php';
else :
?><!DOCTYPE html>
<html>
<body>
File <span style="font-family: monospace;"><?php echo JPATH_BASE . '/templates/' . $this -> template; ?>/custom.php</span> not found.
</body>
</html>
<?php endif; // endif for including custom.php