public function cacheModuleConfig($return=false)
	{
		$modules = $this->getModulesFromDb();
		$arrayModule = array();

		foreach($modules as $module) {
			if(!in_array($module->folder, $arrayModule))
				$arrayModule[] = $module->folder;
		}
		if($return == false) {
			$filePath   = Yii::getPathOfAlias('application.config');
			$fileHandle = fopen($filePath.'/cache_module.php', 'w');
			fwrite($fileHandle, implode("\n", $arrayModule));
			fclose($fileHandle);

		} else 
			return $arrayModule;
	}