Read '/usr/local/lxlabs/kloxo/httpdocs/login/index.php':
<?php
ini_set("display_errors","1");
// use default index.php
if (!file_exists("./custom-index.php")) {
?>
<?php
if (file_exists("./custom-inc.php")) {
// use user-define inc.php -- no override when kloxo update
$incfile = "./custom-inc.php";
if (file_exists("./custom-inc2.php")) {
$incfile2 = "./custom-inc2.php";
}
}
else {
// use default inc.php
$incfile = "./inc.php";
if (file_exists("./inc2.php")) {
$incfile2 = "./inc2.php";
}
}
?>
...
You can see if 'custom-index.php' exist, index.php use custom-index.php content instead index.php content itself. So, no need modified index.php directly but modified custom-index.php (you can copy index.php to custom-index.php for starting point).
The same way with inc.php and inc2.php (if exists).
This 'style' as the same as approach like template-based web and dns config.