Skip to content

Commit

Permalink
chore(htmlawed): Upgrade htmlawed via composer
Browse files Browse the repository at this point in the history
  • Loading branch information
ewinslow committed Aug 5, 2015
1 parent 9eac5aa commit 65138c6
Show file tree
Hide file tree
Showing 94 changed files with 7,958 additions and 3,886 deletions.
1 change: 1 addition & 0 deletions mod/htmlawed/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
composer.lock
5 changes: 3 additions & 2 deletions mod/htmlawed/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "elgg/htmlawed",
"type": "elgg-plugin",
"require": {
"composer/installers": ">=1.0.8"
"composer/installers": ">=1.0.8",
"htmlawed/htmlawed": "^1.1"
},
"license": "GPL-2.0"
}
}
2 changes: 1 addition & 1 deletion mod/htmlawed/start.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
function htmlawed_init() {
elgg_register_plugin_hook_handler('validate', 'input', 'htmlawed_filter_tags', 1);

$lib = __DIR__ . "/vendors/htmLawed/htmLawed.php";
$lib = __DIR__ . "/vendor/htmlawed/htmlawed/htmLawed.php";
elgg_register_library('htmlawed', $lib);

elgg_register_plugin_hook_handler('unit_test', 'system', 'htmlawed_test');
Expand Down
7 changes: 7 additions & 0 deletions mod/htmlawed/vendor/autoload.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

// autoload.php @generated by Composer

require_once __DIR__ . '/composer' . '/autoload_real.php';

return ComposerAutoloaderInit8c9ca32178868a3a8e7f86755fce21fa::getLoader();
Loading

0 comments on commit 65138c6

Please sign in to comment.