]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/getpiddir.php
Make attachment fit better in notice: drop text and link
[quix0rs-gnu-social.git] / scripts / getpiddir.php
index 9927cc6d95b07a9f4a831b204dde44a6ce5b088b..4c8e8b221c0936007c61d31ca24086f30a1c242b 100755 (executable)
@@ -1,8 +1,8 @@
 #!/usr/bin/env php
 <?php
 /*
- * Laconica - a distributed open-source microblogging tool
- * Copyright (C) 2008, 2009, Control Yourself, Inc.
+ * StatusNet - the distributed open-source microblogging tool
+ * Copyright (C) 2008, 2009, StatusNet, Inc.
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU Affero General Public License as published by
@@ -18,7 +18,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
+define('INSTALLDIR', dirname(__DIR__));
+define('PUBLICDIR', INSTALLDIR . DIRECTORY_SEPARATOR . 'public');
 
 $helptext = <<<ENDOFHELP
 getpiddir.php - print out the currently configured PID directory