Ignore:
Timestamp:
2012-07-29T08:35:59+02:00 (3 years ago)
Author:
moo
Message:

consistent style for include

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htdocs/common/common.php

    r1070 r1077  
    4646                "http://xcache.lighttpd.net/" => "XCache",
    4747                "http://xcache.lighttpd.net/wiki/DocTOC" => _("Document"),
     48                "http://xcache.lighttpd.net/wiki/PhpIni" => _("INI Setting"),
    4849                "http://xcache.lighttpd.net/wiki/GetSupport" => _("Get Support"),
    4950                "https://groups.google.com/group/xcache/" => _("Discusson"),
     
    245246$config = array();
    246247if (file_exists("./config.default.php")) {
    247     include("./config.default.php");
    248 }
    249 include("../config.default.php");
     248    include "./config.default.php";
     249}
     250include "../config.default.php";
    250251if (file_exists("../config.php")) {
    251     include("../config.php");
     252    include "../config.php";
    252253}
    253254if (file_exists("./config.php")) {
    254     include("./config.php");
     255    include "./config.php";
    255256}
    256257
    257258$strings = array();
    258 include(get_language_file("../common/common"));
     259include get_language_file("../common/common");
    259260
    260261$modules = array();
Note: See TracChangeset for help on using the changeset viewer.