mirror of
				https://github.com/slawkens/myaac.git
				synced 2025-11-04 09:46:23 +01:00 
			
		
		
		
	Ensure some cache folders & index.html exists
This commit is contained in:
		@@ -18,6 +18,9 @@ use MyAAC\Settings;
 | 
			
		||||
 | 
			
		||||
defined('MYAAC') or die('Direct access not allowed!');
 | 
			
		||||
 | 
			
		||||
ensureIndexExists(CACHE);
 | 
			
		||||
ensureIndexExists(CACHE . 'twig/');
 | 
			
		||||
 | 
			
		||||
global $config;
 | 
			
		||||
if(!isset($config['installed']) || !$config['installed']) {
 | 
			
		||||
	throw new RuntimeException('MyAAC has not been installed yet or there was error during installation. Please install again.');
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user