]> 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
old mode 100644 (file)
new mode 100755 (executable)
index 19abce4..fac4414
@@ -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');