Clean code
This commit is contained in:
parent
a32ed5b07d
commit
4a9181b5bc
@ -1,5 +1,11 @@
|
||||
<?php
|
||||
// File generated to wrap the alias page - DO NOT MODIFY - It is just a wrapper to real page
|
||||
global $dolibarr_main_data_root;
|
||||
if (empty($dolibarr_main_data_root)) require './page171.tpl.php'; else require $dolibarr_main_data_root.'/website/'.$website->ref.'/page171.tpl.php';
|
||||
?>
|
||||
// BEGIN PHP File generated to provide an index.php as Home Page or alias redirector - DO NOT MODIFY - It is just a generated wrapper.
|
||||
$websitekey=basename(__DIR__); if (empty($websitepagefile)) $websitepagefile=__FILE__;
|
||||
if (! defined('USEDOLIBARRSERVER') && ! defined('USEDOLIBARREDITOR')) { require_once './master.inc.php'; } // Load master if not already loaded
|
||||
if (!empty($_GET['pageref']) || !empty($_GET['pagealiasalt']) || !empty($_GET['pageid'])) {
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/website.lib.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/website.inc.php';
|
||||
redirectToContainer($_GET['pageref'], $_GET['pagealiasalt'], $_GET['pageid']);
|
||||
}
|
||||
include_once './page171.tpl.php';
|
||||
// END PHP
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user