Move ./cache directory to ./app/cache

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth 2023-10-24 17:24:06 -03:00
parent 87c494fa5f
commit 941c795085
No known key found for this signature in database
GPG Key ID: 6A16FD38AFC89CC8
8 changed files with 6 additions and 7 deletions

1
app/.gitignore vendored
View File

@ -1,2 +1 @@
cache/
language_stats.inc.php

View File

@ -68,7 +68,7 @@ return [
/**
* Define the cache directory for routing cache and other cache files
*/
'cacheDir' => ROOT_PATH . 'cache' . DIRECTORY_SEPARATOR,
'cacheDir' => ROOT_PATH . 'app' . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SEPARATOR,
/**
* Suffix to add to the phpMyAdmin version

View File

@ -15,9 +15,9 @@
<file>./test</file>
<file>./config.sample.inc.php</file>
<exclude-pattern>*/app/cache/*</exclude-pattern>
<exclude-pattern>*/app/language_stats.inc.php</exclude-pattern>
<exclude-pattern>*/build/*</exclude-pattern>
<exclude-pattern>*/cache/*</exclude-pattern>
<exclude-pattern>*/config.inc.php</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/test/doctum-config.php</exclude-pattern>

View File

@ -15,7 +15,7 @@ parameters:
stubFiles:
- test/stubs/uploadprogress.stub
excludePaths:
- cache/*
- app/cache/*
- test/doctum-config.php
dynamicConstantNames:
- ROOT_PATH

View File

@ -22,7 +22,7 @@
<directory suffix=".php">.</directory>
</include>
<exclude>
<directory>cache</directory>
<directory>app/cache</directory>
<directory>examples</directory>
<directory>node_modules</directory>
<directory>test</directory>

View File

@ -21,7 +21,7 @@
<directory name="test/selenium"/>
<file name="public/index.php"/>
<ignoreFiles>
<directory name="cache"/>
<directory name="app/cache"/>
<directory name="vendor"/>
</ignoreFiles>
<ignoreFiles allowMissingFiles="true">

View File

@ -3,5 +3,5 @@
declare(strict_types=1);
define('ROOT_PATH', dirname(__DIR__) . DIRECTORY_SEPARATOR);
define('CACHE_DIR', ROOT_PATH . 'cache' . DIRECTORY_SEPARATOR);
define('CACHE_DIR', ROOT_PATH . 'app' . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SEPARATOR);
define('VERSION_SUFFIX', '');