mirror of
				https://github.com/Alamantus/Lexiconga.git
				synced 2025-11-04 02:07:05 +01:00 
			
		
		
		
	Move the backend files to /public/api
This commit is contained in:
		
							parent
							
								
									691346c4ba
								
							
						
					
					
						commit
						ca471da663
					
				
					 10 changed files with 4 additions and 3 deletions
				
			
		
							
								
								
									
										2
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -6,6 +6,6 @@ public/*.js
 | 
			
		|||
public/*.map
 | 
			
		||||
public/assets/
 | 
			
		||||
 | 
			
		||||
backend/vendor/
 | 
			
		||||
public/api/vendor/
 | 
			
		||||
 | 
			
		||||
*.log*
 | 
			
		||||
| 
						 | 
				
			
			@ -143,8 +143,8 @@ WHERE dictionary=$dictionary";
 | 
			
		|||
      $result2 = $this->db->query($query2, array(
 | 
			
		||||
        ':parts_of_speech' => json_encode($dictionary_object['partsOfSpeech']),
 | 
			
		||||
        ':phonology' => json_encode($linguistics['phonology']),
 | 
			
		||||
        ':orthography_notes' => $linguistics['orthographyNotes'],
 | 
			
		||||
        ':grammar_notes' => $linguistics['grammarNotes'],
 | 
			
		||||
        ':orthography_notes' => $linguistics['orthography']['notes'],
 | 
			
		||||
        ':grammar_notes' => $linguistics['grammar']['notes'],
 | 
			
		||||
      ));
 | 
			
		||||
 | 
			
		||||
      if ($result2->rowCount() > 0) {
 | 
			
		||||
| 
						 | 
				
			
			@ -1,6 +1,7 @@
 | 
			
		|||
<?php
 | 
			
		||||
class Response {
 | 
			
		||||
  private static function defaultHeaders () {
 | 
			
		||||
    header('Access-Control-Allow-Origin: *');
 | 
			
		||||
    header('Expires: Sun, 01 Nov 2015 22:46:51 GMT');
 | 
			
		||||
    header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
 | 
			
		||||
    header("Cache-Control: post-check=0, pre-check=0", false);
 | 
			
		||||
							
								
								
									
										0
									
								
								backend/composer.lock → public/api/composer.lock
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										0
									
								
								backend/composer.lock → public/api/composer.lock
									
										
									
										generated
									
									
									
								
							
		Loading…
	
	Add table
		
		Reference in a new issue