]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/remove_duplicate_file_urls.php
Make attachment fit better in notice: drop text and link
[quix0rs-gnu-social.git] / scripts / remove_duplicate_file_urls.php
index a4a7cd795b9afa9b487eeaa77c022666ee9d6341..9754820d988998a9f924e760af3f669f5658a132 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 = 'y';
 $longoptions = array('yes');