You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					39 lines
				
				813 B
			
		
		
			
		
	
	
					39 lines
				
				813 B
			| 
								 
											13 years ago
										 
									 | 
							
								<?php
							 | 
						||
| 
								 | 
							
								/**
							 | 
						||
| 
								 | 
							
								 * The manifest of files that are local to specific environment.
							 | 
						||
| 
								 | 
							
								 * This file returns a list of environments that the application
							 | 
						||
| 
								 | 
							
								 * may be installed under. The returned data must be in the following
							 | 
						||
| 
								 | 
							
								 * format:
							 | 
						||
| 
								 | 
							
								 *
							 | 
						||
| 
								 | 
							
								 * ```php
							 | 
						||
| 
								 | 
							
								 * return array(
							 | 
						||
| 
								 | 
							
								 *     'environment name' => array(
							 | 
						||
| 
								 | 
							
								 *         'path' => 'directory storing the local files',
							 | 
						||
| 
								 | 
							
								 *         'writable' => array(
							 | 
						||
| 
								 | 
							
								 *             // list of directories that should be set writable
							 | 
						||
| 
								 | 
							
								 *         ),
							 | 
						||
| 
								 | 
							
								 *     ),
							 | 
						||
| 
								 | 
							
								 * );
							 | 
						||
| 
								 | 
							
								 * ```
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								return array(
							 | 
						||
| 
								 | 
							
									'Development' => array(
							 | 
						||
| 
								 | 
							
										'path' => 'dev',
							 | 
						||
| 
								 | 
							
										'writable' => array(
							 | 
						||
| 
								 | 
							
											// handled by composer.json already
							 | 
						||
| 
								 | 
							
										),
							 | 
						||
| 
								 | 
							
										'executable' => array(
							 | 
						||
| 
								 | 
							
											'yiic',
							 | 
						||
| 
								 | 
							
										),
							 | 
						||
| 
								 | 
							
									),
							 | 
						||
| 
								 | 
							
									'Production' => array(
							 | 
						||
| 
								 | 
							
										'path' => 'prod',
							 | 
						||
| 
								 | 
							
										'writable' => array(
							 | 
						||
| 
								 | 
							
											// handled by composer.json already
							 | 
						||
| 
								 | 
							
										),
							 | 
						||
| 
								 | 
							
										'executable' => array(
							 | 
						||
| 
								 | 
							
											'yiic',
							 | 
						||
| 
								 | 
							
										),
							 | 
						||
| 
								 | 
							
									),
							 | 
						||
| 
								 | 
							
								);
							 |