Dotclear

source: index.php @ 3731:3770620079d4

Revision 3731:3770620079d4, 449 bytes checked in by franck <carnet.franck.paul@…>, 7 years ago (diff)

Simplify licence block at the beginning of each file

Line 
1<?php
2/**
3 * @package Dotclear
4 *
5 * @copyright Olivier Meunier & Association Dotclear
6 * @copyright GPL-2.0-only
7 */
8
9if (isset($_SERVER['DC_BLOG_ID'])) {
10    define('DC_BLOG_ID', $_SERVER['DC_BLOG_ID']);
11} elseif (isset($_SERVER['REDIRECT_DC_BLOG_ID'])) {
12    define('DC_BLOG_ID', $_SERVER['REDIRECT_DC_BLOG_ID']);
13} else {
14    # Define your blog here
15    define('DC_BLOG_ID', 'default');
16}
17
18require dirname(__FILE__) . '/inc/public/prepend.php';
Note: See TracBrowser for help on using the repository browser.

Sites map