Changeset 1077


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

consistent style for include

Location:
trunk/htdocs
Files:
4 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();
  • trunk/htdocs/coverager/common.php

    r1053 r1077  
    33require_once "../common/common.php";
    44
    5 include(get_language_file("coverager"));
     5include get_language_file("coverager");
    66$module = "coverager";
    77
  • trunk/htdocs/coverager/coverager.php

    r1053 r1077  
    11<?php
    22
    3 include("./common.php");
     3include "./common.php";
    44
    55class XcacheCoverageViewer
     
    108108
    109109        global $config;
    110         include("coverager.tpl.php");
     110        include "coverager.tpl.php";
    111111    }
    112112
  • trunk/htdocs/coverager/index.php

    r393 r1077  
    11<?php
    22
    3 include("coverager.php");
     3include "coverager.php";
Note: See TracChangeset for help on using the changeset viewer.