]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/showcache.php
Make attachment fit better in notice: drop text and link
[quix0rs-gnu-social.git] / scripts / showcache.php
old mode 100644 (file)
new mode 100755 (executable)
index 8ef0846..9911054
@@ -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 = "t:l:v:k:";