]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/resend_confirm_address.php
Added type-hint for StartShowEntryForms hook
[quix0rs-gnu-social.git] / scripts / resend_confirm_address.php
index b73246d6ef2450dacfab6bc1797269de3aaaf9e6..8a456a812cd1508cef4fe031c2c7f6bc2768bda0 100755 (executable)
@@ -1,7 +1,8 @@
 #!/usr/bin/env php
 <?php
 
-define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
+define('INSTALLDIR', dirname(__DIR__));
+define('PUBLICDIR', INSTALLDIR . DIRECTORY_SEPARATOR . 'public');
 
 $shortoptions = 'e::ay';
 $longoptions = array('email=', 'all', 'yes');