1
0
Fork 0

fixed wrong foldername

Dieser Commit ist enthalten in:
o.pinke 2020-08-10 20:18:24 +02:00
Ursprung dc11334aaf
Commit 7a6db964fd
3 geänderte Dateien mit 8 neuen und 7 gelöschten Zeilen

Datei anzeigen

@ -32,8 +32,8 @@ if(!defined('CON_FRAMEWORK')) {
die('Illegal call');
}
$plugin_name = "linkchecker";
$cfg['plugins']['linkchecker'] = $cfg['path']['conlite'] . "plugins/" . 'cl-'.$plugin_name . "/";
$plugin_name = "cl-linkchecker";
$cfg['plugins']['linkchecker'] = $cfg['path']['conlite'] . "plugins/".$plugin_name . "/";
$cfg['tab']['whitelist'] = $cfg['sql']['sqlprefix'] . '_pi_linkchecker_whitelist';
// Templates

Datei anzeigen

@ -38,7 +38,7 @@ if (!defined('CON_FRAMEWORK')) {
die('Illegal call');
}
$plugin_name = "linkchecker";
$plugin_name = "cl-linkchecker";
global $cfg;
if (!$perm->have_perm_area_action($plugin_name, $plugin_name) && $cronjob != true) {
@ -61,9 +61,9 @@ if (empty($_GET['action'])) {
$action = "linkchecker";
}
plugin_include('linkchecker', 'includes/config.plugin.php');
plugin_include('linkchecker', 'includes/include.checkperms.php');
plugin_include('linkchecker', 'includes/include.linkchecker_tests.php');
plugin_include($plugin_name, 'includes/config.plugin.php');
plugin_include($plugin_name, 'includes/include.checkperms.php');
plugin_include($plugin_name, 'includes/include.linkchecker_tests.php');
cInclude('pear', 'PEAR.php');
cInclude('pear', 'Cache/Lite.php');

Datei anzeigen

@ -1,5 +1,6 @@
CREATE TABLE IF NOT EXISTS `!PREFIX!_linkchecker_whitelist` (
`idlinkchecker_whitelist` int(10) NOT NULL DEFAULT 0,
`url` varchar(255) NOT NULL DEFAULT '0',
`lastview` int(11) NOT NULL DEFAULT 0,
PRIMARY KEY (`url`)
PRIMARY KEY (`idlinkchecker_whitelist`)
);