init xml and sql files
Dieser Commit ist enthalten in:
Ursprung
96d6aa23c6
Commit
0228432ac4
5 geänderte Dateien mit 29 neuen und 2 gelöschten Zeilen
1
.gitignore
gevendort
Normale Datei
1
.gitignore
gevendort
Normale Datei
|
@ -0,0 +1 @@
|
|||
/.project
|
20
cl_plugin.xml
Normale Datei
20
cl_plugin.xml
Normale Datei
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<plugin>
|
||||
<general active="1">
|
||||
<plugin_name>ConLite Link Checker</plugin_name>
|
||||
<plugin_foldername>cl-linkchecker</plugin_foldername>
|
||||
<uuid>D64545F0-3EC8-5216-9874-5ACE6BBE6501</uuid>
|
||||
<description>ConLite Link Checker</description>
|
||||
<author>ConLite Team</author>
|
||||
<copyright>ConLite Team</copyright>
|
||||
<mail>plugins@conlite.org</mail>
|
||||
<website>https://conlite.org</website>
|
||||
<version>0.1.0</version>
|
||||
</general>
|
||||
<requirements php="7.1">
|
||||
<conlite minversion="2.1.0" />
|
||||
</requirements>
|
||||
<conlite>
|
||||
|
||||
</conlite>
|
||||
</plugin>
|
|
@ -33,8 +33,8 @@ if(!defined('CON_FRAMEWORK')) {
|
|||
}
|
||||
|
||||
$plugin_name = "linkchecker";
|
||||
$cfg['plugins']['linkchecker'] = $cfg['path']['contenido'] . "plugins/" . $plugin_name . "/";
|
||||
$cfg['tab']['whitelist'] = $cfg['sql']['sqlprefix'] . '_pi_linkwhitelist';
|
||||
$cfg['plugins']['linkchecker'] = $cfg['path']['conlite'] . "plugins/" . $plugin_name . "/";
|
||||
$cfg['tab']['whitelist'] = $cfg['sql']['sqlprefix'] . '_pi_linkchecker_whitelist';
|
||||
|
||||
// Templates
|
||||
$cfg['templates']['linkchecker_test'] = $cfg['plugins']['linkchecker'] . "templates/standard/template.linkchecker_test.html";
|
||||
|
|
5
plugin_install.sql
Normale Datei
5
plugin_install.sql
Normale Datei
|
@ -0,0 +1,5 @@
|
|||
CREATE TABLE IF NOT EXISTS `!PREFIX!_linkchecker_whitelist` (
|
||||
`url` varchar(255) NOT NULL DEFAULT '0',
|
||||
`lastview` int(11) NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`url`)
|
||||
);
|
1
plugin_uninstall.sql
Normale Datei
1
plugin_uninstall.sql
Normale Datei
|
@ -0,0 +1 @@
|
|||
DROP TABLE IF EXISTS !PREFIX!_linkchecker_whitelist;
|
Laden …
In neuem Issue referenzieren