X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fshowcache.php;h=991105454eab6fd2c477f5491cbad195f750f757;hb=364b8e308babfaeb64e5ba45e4df9aa881ac9d97;hp=8ef08467d6be139dd2a50ee11670962cbeb30cf7;hpb=e36399974e6ccd1ee3e53bfffa3c34edaf8bd488;p=quix0rs-gnu-social.git diff --git a/scripts/showcache.php b/scripts/showcache.php old mode 100644 new mode 100755 index 8ef08467d6..991105454e --- a/scripts/showcache.php +++ b/scripts/showcache.php @@ -18,7 +18,8 @@ * along with this program. If not, see . */ -define('INSTALLDIR', realpath(dirname(__FILE__) . '/..')); +define('INSTALLDIR', dirname(__DIR__)); +define('PUBLICDIR', INSTALLDIR . DIRECTORY_SEPARATOR . 'public'); $shortoptions = "t:l:v:k:";