From af9f54303f06f342cb05c40717a6ad9a146411fe Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Mon, 6 Sep 2010 12:01:57 +0000 Subject: [PATCH] standardised license headers --- index.php | 46 ++++++++++++++++++++++------------------------ version.php | 37 ++++++++++++++++++++++++++++++------- 2 files changed, 52 insertions(+), 31 deletions(-) diff --git a/index.php b/index.php index 46b22049fc019..6c9e50dcea696 100644 --- a/index.php +++ b/index.php @@ -1,29 +1,27 @@ . + +/** + * Moodle frontpage. + * + * @package core + * @copyright 1999 onwards Martin Dougiamas (http://dougiamas.com) + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ if (!file_exists('./config.php')) { header('Location: install.php'); diff --git a/version.php b/version.php index f171a8d171d38..30b5f00fe876c 100644 --- a/version.php +++ b/version.php @@ -1,13 +1,36 @@ . -// This file defines the current version of the core Moodle code being used. -// This is compared against the values stored in the database to determine -// whether upgrades should be performed (see lib/db/*.php) +/** + * MOODLE VERSION INFORMATION + * + * This file defines the current version of the core Moodle code being used. + * This is compared against the values stored in the database to determine + * whether upgrades should be performed (see lib/db/*.php) + * + * @package core + * @copyright 1999 onwards Martin Dougiamas (http://dougiamas.com) + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ - $version = 2010090501; // YYYYMMDD = date of the last version bump - // XX = daily increments +defined('MOODLE_INTERNAL') || die(); - $release = '2.0 Preview 4+ (Build: 20100906)'; // Human-friendly version name +$version = 2010090501; // YYYYMMDD = date of the last version bump + // XX = daily increments + +$release = '2.0 Preview 4+ (Build: 20100906)'; // Human-friendly version name