Skip to content

Commit

Permalink
cleaning plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 authored Oct 7, 2024
1 parent a12a90d commit 629f709
Show file tree
Hide file tree
Showing 105 changed files with 10 additions and 28,180 deletions.
12 changes: 2 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
{
"name": "jeedom/plugin-script",
"description": "Plugin script for Jeedom",
"require": {
"electrolinux/phpquery": "0.9.*"
},
"authors": [
{
"name": "Loic",
"email": "[email protected]"
}
]
}
}
}
4 changes: 3 additions & 1 deletion core/class/script.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@

/* * ***************************Includes********************************* */
require_once dirname(__FILE__) . '/../../../../core/php/core.inc.php';
require_once dirname(__FILE__) . '/../../vendor/autoload.php';
if(file_exists(dirname(__FILE__) . '/../../vendor/autoload.php')){
require_once dirname(__FILE__) . '/../../vendor/autoload.php';
}

class script extends eqLogic {

Expand Down
5 changes: 5 additions & 0 deletions plugin_info/packages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"composer": {
"plugins/script" : {}
}
}
7 changes: 0 additions & 7 deletions vendor/autoload.php

This file was deleted.

Loading

0 comments on commit 629f709

Please sign in to comment.