Skip to content

Latest commit

 

History

History
68 lines (46 loc) · 1.47 KB

README.md

File metadata and controls

68 lines (46 loc) · 1.47 KB

ISS_CodeIgniter

ISS_CodeIgniter is a project developed with CodeIgniter 3.1.6 and JSON, using the Open Notify, integrating the framework Bootstrap 3.37 for HTML, CSS, JS.

Added files,folders

-www
 |-ISS_CodeIgniter
	|-application
		|-config
			\-config.php
		|-controllers
			\-IssController.php
			\-SiteController.php
		|-views
			|-iss
				\-headers.php
				\-index.php
			|-site
				\-headers.php
				\-index.php
	|-assets
		|-brand
		|-css
		|-flash
		|-fonts
		|-img
		|-js

application/config/config.php

In the file config.php the directive was changed $config['base_url'] = ''; by $config['base_url'] ='http://localhost/ISS_CodeIgniter';

$config['base_url'] = 'http://localhost/ISS_CodeIgniter';

assets

This folder contains the Bootstrap framework (brand, css, flash, fonts, img, js), just unzip the package from the official Bootstrap site inside the folder assets

application/views/site/index.php

This file contains variables that must be initialized, such as $llaveGoogle, this must have the key generated by google for the use of the google maps API.

/**  aca devbes colocar tu llave generada por google para el map **/
$llaveGoogle='';

$llaveGoogle is used in the script

<script async defer
    src="https://maps.googleapis.com/maps/api/js?key=<?= $llaveGoogle; ?> &callback=initMap">
</script>