From 11321ebd9901e5f748f73bc4fce8010a5cf42d87 Mon Sep 17 00:00:00 2001 From: Andreas Moik Date: Mon, 30 Nov 2015 17:18:47 +0100 Subject: [PATCH] php-markdown in Composer --- composer.json | 3 +- composer.lock | 55 +++++++++++++++++++++++++++-- include/meta/easyui.php | 2 +- include/meta/jquery-tablesorter.php | 2 +- include/meta/jquery.php | 2 +- 5 files changed, 58 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 0e40231b4..ff1f5a775 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,8 @@ "require": { "components/jquery": "2.1.4", "components/angular.js": "1.3.16", - "components/bootstrap": "3.3.5" + "components/bootstrap": "3.3.5", + "michelf/php-markdown": "1.5.0" }, diff --git a/composer.lock b/composer.lock index 0cd476cb6..95e1309ec 100755 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "6f613635b131d66244b30d0ee702a36b", - "content-hash": "60c05e7e5b04118d51a1bc59c4877b8d", + "hash": "ef5178581ef212d2de46334bd149f469", + "content-hash": "6574a5f8f5995f3db237091bf4b70270", "packages": [ { "name": "components/angular.js", @@ -420,6 +420,57 @@ "description": "jQuery JavaScript Library", "homepage": "http://jquery.com", "time": "2015-05-08 05:04:47" + }, + { + "name": "michelf/php-markdown", + "version": "1.5.0", + "source": { + "type": "git", + "url": "https://github.com/michelf/php-markdown.git", + "reference": "e1aabe18173231ebcefc90e615565742fc1c7fd9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/michelf/php-markdown/zipball/e1aabe18173231ebcefc90e615565742fc1c7fd9", + "reference": "e1aabe18173231ebcefc90e615565742fc1c7fd9", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-lib": "1.4.x-dev" + } + }, + "autoload": { + "psr-0": { + "Michelf": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "John Gruber", + "homepage": "http://daringfireball.net/" + }, + { + "name": "Michel Fortin", + "email": "michel.fortin@michelf.ca", + "homepage": "https://michelf.ca/", + "role": "Developer" + } + ], + "description": "PHP Markdown", + "homepage": "https://michelf.ca/projects/php-markdown/", + "keywords": [ + "markdown" + ], + "time": "2015-03-01 12:03:08" } ], "packages-dev": [], diff --git a/include/meta/easyui.php b/include/meta/easyui.php index c0c85068b..b923dd4e5 100644 --- a/include/meta/easyui.php +++ b/include/meta/easyui.php @@ -17,7 +17,7 @@ * * Authors: Andreas Moik */ -//require_once('/config/vilesci.config.inc.php'); Muss vor dieser Datei eingebunden werden! +//require_once(dirname(__FILE__).'/config/vilesci.config.inc.php'); Muss vor dieser Datei eingebunden werden! $ar = APP_ROOT; if(isset($_SERVER["https"]) && $_SERVER["https"] != "") diff --git a/include/meta/jquery-tablesorter.php b/include/meta/jquery-tablesorter.php index 83da1162a..95f731036 100644 --- a/include/meta/jquery-tablesorter.php +++ b/include/meta/jquery-tablesorter.php @@ -17,7 +17,7 @@ * * Authors: Andreas Moik */ -//require_once('/config/vilesci.config.inc.php'); Muss vor dieser Datei eingebunden werden! +//require_once(dirname(__FILE__).'/config/vilesci.config.inc.php'); Muss vor dieser Datei eingebunden werden! $ar = APP_ROOT; diff --git a/include/meta/jquery.php b/include/meta/jquery.php index 1f7ce2bea..78521cf00 100644 --- a/include/meta/jquery.php +++ b/include/meta/jquery.php @@ -17,7 +17,7 @@ * * Authors: Andreas Moik */ -//require_once('/config/vilesci.config.inc.php'); Muss vor dieser Datei eingebunden werden! +//require_once(dirname(__FILE__).'/config/vilesci.config.inc.php'); Muss vor dieser Datei eingebunden werden! $ar = APP_ROOT;