]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/updatelocation.php
Added type-hint for StartShowEntryForms hook
[quix0rs-gnu-social.git] / scripts / updatelocation.php
index abf9627cc71e6daffc61c3b26802b7a435bece14..6a786932513831ff7327bb2685a3e58a4b3c3b2d 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 = 'i:n:af';
 $longoptions = array('id=', 'nickname=', 'all', 'force');