forked from GNUsocial/gnu-social
Split Yammer importer files into subdirs before I get too lost adding UI
This commit is contained in:
parent
acd7613933
commit
12ec7efe90
@ -68,9 +68,7 @@ class YammerImportPlugin extends Plugin
|
||||
switch ($lower) {
|
||||
case 'sn_yammerclient':
|
||||
case 'yammerimporter':
|
||||
case 'yammerimqueuehandler':
|
||||
case 'importyammeraction':
|
||||
require_once "$base/$lower.php";
|
||||
require_once "$base/lib/$lower.php";
|
||||
return false;
|
||||
default:
|
||||
return true;
|
||||
|
@ -4,7 +4,7 @@ if (php_sapi_name() != 'cli') {
|
||||
die('no');
|
||||
}
|
||||
|
||||
define('INSTALLDIR', dirname(dirname(dirname(__FILE__))));
|
||||
define('INSTALLDIR', dirname(dirname(dirname(dirname(__FILE__)))));
|
||||
|
||||
require INSTALLDIR . "/scripts/commandline.inc";
|
||||
|
@ -4,7 +4,7 @@ if (php_sapi_name() != 'cli') {
|
||||
die('no');
|
||||
}
|
||||
|
||||
define('INSTALLDIR', dirname(dirname(dirname(__FILE__))));
|
||||
define('INSTALLDIR', dirname(dirname(dirname(dirname(__FILE__)))));
|
||||
|
||||
require INSTALLDIR . "/scripts/commandline.inc";
|
||||
|
Loading…
Reference in New Issue
Block a user