]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/settag.php
onArgsInitialize() wants an array and many plugins want to add more elements, so...
[quix0rs-gnu-social.git] / scripts / settag.php
index 19abce43c8018a5d1de97ca83e5740f730c2c294..fac44146d6d3d0903f9589e24c35989c2eddd505 100755 (executable)
@@ -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');
 
 $shortoptions = 'd';
 $longoptions = array('delete');