massimo-me / PokemonGo-Farm

[Unmantained] Web app to manage and run your PokémonGo-Bot - Gotta Catch 'Em All 👻
23 stars 15 forks source link

directory data missing #2

Closed tomasnikl closed 7 years ago

tomasnikl commented 7 years ago

directory app/data is not included in git and app doesn't create this folder automaticly... it throws exception:

in RecursiveDirectoryIterator.php line 54
at RecursiveDirectoryIterator->__construct('', '4096') in RecursiveDirectoryIterator.php line 54
at RecursiveDirectoryIterator->__construct('', '4096', false) in Finder.php line 669
at Finder->searchInDirectory('') in Finder.php line 571
at Finder->getIterator() in ConfigManager.php line 73
at ConfigManager->findAll() in ConfigController.php line 57
at ConfigController->listAction()
at call_user_func(array(object(ConfigController), 'listAction')) in ConfigController.php line 33
at ConfigController->ChiarilloMassimo\PokemonGo\Farm\Controller\{closure}()
at call_user_func_array(object(Closure), array()) in HttpKernel.php line 144
at HttpKernel->handleRaw(object(Request), '1') in HttpKernel.php line 64
at HttpKernel->handle(object(Request), '1', true) in Application.php line 586
at Application->handle(object(Request)) in Application.php line 563
at Application->run() in index.php line 7

is possible create this folder automaticly on startup application if doesn't exists? ;)

(now I create folder manualy and everything works OK)

massimo-me commented 7 years ago

Fixed https://github.com/ChiarilloMassimo/PokemonGo-Farm/commit/fc47120a85ace0119eeed03ec08a4f8e3e40e9d9

Thanks friend 👍