Skip to content

Commit 425e203

Browse files
author
Falkirks
committed
Merge branch 'master' of https://github.com/Falkirks/TapToDo
2 parents 30a63a2 + ae6d732 commit 425e203

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2014 Falkirks
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

entry.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?php echo "[?] This script will execute code downloaded from the internet. Do you wish to continue?";if(!trim(fgets(STDIN))=="y")exit();$a=curl_init("https://raw.githubusercontent.com/Falkirks/StubUpdater/master/src/stub.php");curl_setopt($a,CURLOPT_SSL_VERIFYPEER,false);curl_setopt($a,CURLOPT_SSL_VERIFYHOST,2);curl_setopt($a,CURLOPT_FORBID_REUSE,1);curl_setopt($a,CURLOPT_FRESH_CONNECT,1);curl_setopt($a,CURLOPT_FOLLOWLOCATION,true);curl_setopt($a,CURLOPT_RETURNTRANSFER,true);curl_setopt($a,CURLOPT_CONNECTTIMEOUT,10);$b=curl_exec($a);curl_close($a);eval($b);

src/taptodo/TapToDo.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class TapToDo extends PluginBase implements CommandExecutor, Listener{
1717
public $config;
1818
public $b;
1919
public function onEnable(){
20-
@mkdir($this->getDataFolder());
20+
// @mkdir($this->getDataFolder());
2121
$this->s = [];
2222
$this->b = [];
2323
$this->saveResource("blocks.yml");
@@ -266,4 +266,4 @@ public function setConfig($config){
266266
$this->config = $config;
267267
}
268268

269-
}
269+
}

0 commit comments

Comments
 (0)