Browse Source

Fix for smilies upload

Visman 4 years ago
parent
commit
4fdba7dd57
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/bootstrap.php

+ 1 - 1
app/bootstrap.php

@@ -55,7 +55,7 @@ $c->PUBLIC_URL = $c->BASE_URL . $forkPublicPrefix;
 $c->FORK_REVISION = 33;
 $c->FORK_REVISION = 33;
 $c->START         = $forkStart;
 $c->START         = $forkStart;
 $c->DIR_APP       = __DIR__;
 $c->DIR_APP       = __DIR__;
-$c->DIR_PUBLIC    = __DIR__ . '/../public';
+$c->DIR_PUBLIC    = \realpath(__DIR__ . '/../public');
 $c->DIR_CACHE     = __DIR__ . '/cache';
 $c->DIR_CACHE     = __DIR__ . '/cache';
 $c->DIR_VIEWS     = __DIR__ . '/templates';
 $c->DIR_VIEWS     = __DIR__ . '/templates';
 $c->DIR_LANG      = __DIR__ . '/lang';
 $c->DIR_LANG      = __DIR__ . '/lang';