File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 99 * If CLEANUP_DAYS is not set, no files will be cleaned.
1010 */
1111
12- require_once __DIR__ . '/../app/ vendor/autoload.php ' ;
12+ require_once __DIR__ . '/../vendor/autoload.php ' ;
1313
1414use League \CLImate \CLImate ;
1515use Dotenv \Dotenv ;
@@ -23,7 +23,7 @@ $climate->br();
2323$ cleanupDays = 0 ;
2424
2525try {
26- $ dotenv = Dotenv::createImmutable (__DIR__ . '/../app ' );
26+ $ dotenv = Dotenv::createImmutable (__DIR__ . '/.. ' );
2727 $ dotenv ->load ();
2828 $ climate ->out ('Environment variables loaded ' );
2929 $ cleanupDays = $ _ENV ['CLEANUP_DAYS ' ];
3333}
3434
3535if (!defined ('CACHE_DIR ' )) {
36- define ('CACHE_DIR ' , __DIR__ . '/../app/ cache ' );
36+ define ('CACHE_DIR ' , __DIR__ . '/../cache ' );
3737}
3838
3939if ($ cleanupDays == 0 ) {
Original file line number Diff line number Diff line change 1313 * 2. IP:PORT:USER:PASSWORD
1414 */
1515
16- require_once __DIR__ . '/../app/ vendor/autoload.php ' ;
16+ require_once __DIR__ . '/../vendor/autoload.php ' ;
1717
1818use League \CLImate \CLImate ;
1919use Dotenv \Dotenv ;
@@ -24,7 +24,7 @@ $climate->bold()->out('Proxy List Cache Updater');
2424$ climate ->br ();
2525
2626try {
27- $ dotenv = Dotenv::createImmutable (__DIR__ . '/../app ' );
27+ $ dotenv = Dotenv::createImmutable (__DIR__ . '/.. ' );
2828 $ dotenv ->load ();
2929 $ climate ->out ('Environment variables loaded ' );
3030} catch (\Exception $ e ) {
3333}
3434
3535if (!defined ('CACHE_DIR ' )) {
36- define ('CACHE_DIR ' , __DIR__ . '/../app/ cache ' );
36+ define ('CACHE_DIR ' , __DIR__ . '/../cache ' );
3737}
3838
3939if (!isset ($ _ENV ['PROXY_LIST ' ]) || empty ($ _ENV ['PROXY_LIST ' ])) {
You can’t perform that action at this time.
0 commit comments