fixed wrong foldername
Dieser Commit ist enthalten in:
Ursprung
dc11334aaf
Commit
7a6db964fd
3 geänderte Dateien mit 8 neuen und 7 gelöschten Zeilen
|
@ -32,8 +32,8 @@ if(!defined('CON_FRAMEWORK')) {
|
||||||
die('Illegal call');
|
die('Illegal call');
|
||||||
}
|
}
|
||||||
|
|
||||||
$plugin_name = "linkchecker";
|
$plugin_name = "cl-linkchecker";
|
||||||
$cfg['plugins']['linkchecker'] = $cfg['path']['conlite'] . "plugins/" . 'cl-'.$plugin_name . "/";
|
$cfg['plugins']['linkchecker'] = $cfg['path']['conlite'] . "plugins/".$plugin_name . "/";
|
||||||
$cfg['tab']['whitelist'] = $cfg['sql']['sqlprefix'] . '_pi_linkchecker_whitelist';
|
$cfg['tab']['whitelist'] = $cfg['sql']['sqlprefix'] . '_pi_linkchecker_whitelist';
|
||||||
|
|
||||||
// Templates
|
// Templates
|
||||||
|
|
|
@ -38,7 +38,7 @@ if (!defined('CON_FRAMEWORK')) {
|
||||||
die('Illegal call');
|
die('Illegal call');
|
||||||
}
|
}
|
||||||
|
|
||||||
$plugin_name = "linkchecker";
|
$plugin_name = "cl-linkchecker";
|
||||||
global $cfg;
|
global $cfg;
|
||||||
|
|
||||||
if (!$perm->have_perm_area_action($plugin_name, $plugin_name) && $cronjob != true) {
|
if (!$perm->have_perm_area_action($plugin_name, $plugin_name) && $cronjob != true) {
|
||||||
|
@ -61,9 +61,9 @@ if (empty($_GET['action'])) {
|
||||||
$action = "linkchecker";
|
$action = "linkchecker";
|
||||||
}
|
}
|
||||||
|
|
||||||
plugin_include('linkchecker', 'includes/config.plugin.php');
|
plugin_include($plugin_name, 'includes/config.plugin.php');
|
||||||
plugin_include('linkchecker', 'includes/include.checkperms.php');
|
plugin_include($plugin_name, 'includes/include.checkperms.php');
|
||||||
plugin_include('linkchecker', 'includes/include.linkchecker_tests.php');
|
plugin_include($plugin_name, 'includes/include.linkchecker_tests.php');
|
||||||
cInclude('pear', 'PEAR.php');
|
cInclude('pear', 'PEAR.php');
|
||||||
cInclude('pear', 'Cache/Lite.php');
|
cInclude('pear', 'Cache/Lite.php');
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
CREATE TABLE IF NOT EXISTS `!PREFIX!_linkchecker_whitelist` (
|
CREATE TABLE IF NOT EXISTS `!PREFIX!_linkchecker_whitelist` (
|
||||||
|
`idlinkchecker_whitelist` int(10) NOT NULL DEFAULT 0,
|
||||||
`url` varchar(255) NOT NULL DEFAULT '0',
|
`url` varchar(255) NOT NULL DEFAULT '0',
|
||||||
`lastview` int(11) NOT NULL DEFAULT 0,
|
`lastview` int(11) NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`url`)
|
PRIMARY KEY (`idlinkchecker_whitelist`)
|
||||||
);
|
);
|
Laden …
In neuem Issue referenzieren