]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/EmailSummary/scripts/sendemailsummary.php
Merge remote-tracking branch 'upstream/master' into social-master
[quix0rs-gnu-social.git] / plugins / EmailSummary / scripts / sendemailsummary.php
index 01c11a210a009c6edbba4cf2a752c6966ca0db48..b132975bcd9d2c4b60cba1743d6640c2d401de67 100644 (file)
@@ -17,7 +17,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-define('INSTALLDIR', realpath(dirname(__FILE__) . '/../..'));
+define('INSTALLDIR', realpath(dirname(__FILE__) . '/../../..'));
 
 $shortoptions = 'i:n:au';
 $longoptions = array('id=', 'nickname=', 'all', 'universe');
@@ -33,14 +33,14 @@ Send an email summary of the inbox to users
 
 END_OF_SENDEMAILSUMMARY_HELP;
 
-require_once INSTALLDIR.'/scripts/commandline.inc';
+require_once INSTALLDIR.'/scripts/commandline.inc.php';
 
 if (have_option('u', 'universe')) {
     $sn = new Status_network();
     if ($sn->find()) {
         while ($sn->fetch()) {
             $server = $sn->getServerName();
-            StatusNet::init($server);
+            GNUsocial::init($server);
             // Different queue manager, maybe!
             $qm = QueueManager::get();
             $qm->enqueue(1, 'sitesum');