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

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

Sites map