1
0
Fork 0

consistent style for include

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1077 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 11 years ago
parent d2671b7f07
commit 3c68966bd8

@ -45,6 +45,7 @@ function mainnav()
foreach (array(
"http://xcache.lighttpd.net/" => "XCache",
"http://xcache.lighttpd.net/wiki/DocTOC" => _("Document"),
"http://xcache.lighttpd.net/wiki/PhpIni" => _("INI Setting"),
"http://xcache.lighttpd.net/wiki/GetSupport" => _("Get Support"),
"https://groups.google.com/group/xcache/" => _("Discusson"),
"http://www.php.net/" => "PHP",
@ -244,18 +245,18 @@ ini_set('magic_quotes_runtime', '0');
$config = array();
if (file_exists("./config.default.php")) {
include("./config.default.php");
include "./config.default.php";
}
include("../config.default.php");
include "../config.default.php";
if (file_exists("../config.php")) {
include("../config.php");
include "../config.php";
}
if (file_exists("./config.php")) {
include("./config.php");
include "./config.php";
}
$strings = array();
include(get_language_file("../common/common"));
include get_language_file("../common/common");
$modules = array();
if (file_exists("../cacher/index.php")) {

@ -2,6 +2,6 @@
require_once "../common/common.php";
include(get_language_file("coverager"));
include get_language_file("coverager");
$module = "coverager";

@ -1,6 +1,6 @@
<?php
include("./common.php");
include "./common.php";
class XcacheCoverageViewer
{
@ -107,7 +107,7 @@ class XcacheCoverageViewer
}
global $config;
include("coverager.tpl.php");
include "coverager.tpl.php";
}
function loadDir($outdir, $addtodo = null)

@ -1,3 +1,3 @@
<?php
include("coverager.php");
include "coverager.php";

Loading…
Cancel
Save