Skip to content

Commit 629f709

Browse files
authored
cleaning plugin
1 parent a12a90d commit 629f709

105 files changed

Lines changed: 10 additions & 28180 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

composer.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
{
2-
"name": "jeedom/plugin-script",
3-
"description": "Plugin script for Jeedom",
42
"require": {
53
"electrolinux/phpquery": "0.9.*"
6-
},
7-
"authors": [
8-
{
9-
"name": "Loic",
10-
"email": "loic@jeedom.com"
11-
}
12-
]
13-
}
4+
}
5+
}

core/class/script.class.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818

1919
/* * ***************************Includes********************************* */
2020
require_once dirname(__FILE__) . '/../../../../core/php/core.inc.php';
21-
require_once dirname(__FILE__) . '/../../vendor/autoload.php';
21+
if(file_exists(dirname(__FILE__) . '/../../vendor/autoload.php')){
22+
require_once dirname(__FILE__) . '/../../vendor/autoload.php';
23+
}
2224

2325
class script extends eqLogic {
2426

plugin_info/packages.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"composer": {
3+
"plugins/script" : {}
4+
}
5+
}

vendor/autoload.php

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)