This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <VirtualHost *:80> | |
| DocumentRoot "/Library/WebServer/Documents" | |
| <Directory /> | |
| Options All | |
| AllowOverride All | |
| Order deny,allow | |
| Deny from All | |
| Allow from 127.0.0.1 | |
| </Directory> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class Staticx extends CI_Controller { | |
| /** | |
| * This action must be configured as a "catch-all" url inside | |
| * application/config/routes.php You can do this by adding the following | |
| * line to that file: | |
| * | |
| * $route['(:any)'] = 'staticx/route/$1'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
| /* | |
| | ------------------------------------------------------------------------- | |
| | URI ROUTING | |
| | ------------------------------------------------------------------------- | |
| | This file lets you re-map URI requests to specific controller functions. | |
| | | |
| | Typically there is a one-to-one relationship between a URL string | |
| | and its corresponding controller class/method. The segments in a | |
| | URL normally follow this pattern: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="keywords" content="<?php echo $meta_keywords ?>" /> | |
| <title>My Static Site - <?php echo $page_title ?></title> | |
| </head> | |
| <body> | |
| <h1><?php echo $page_title ?></h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| Page Title: My DF holidays | |
| Meta Keywords: df, holidays, mine | |
| */ | |
| ?> | |
| <p> | |
| This is some nice test content. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $SEND_NOTIFICATION = FALSE; | |
| $watched_file = 'file/to/watch/in_your_repository'; | |
| /*----------------------------------------------------------*/ | |
| if (isset($_POST['commit'])) { | |
| require 'JSON.php'; // PECL script, or perhaps json_decode() is enough |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Set container height to highest list | |
| var heights = $('.articleSection').map(function() { | |
| return $(this).innerHeight(); | |
| }).get(); | |
| console.log(heights); | |
| var max = Math.max.apply(Math, heights); | |
| //$('.articlesWidget .wrapper').height(max); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head profile="http://www.w3.org/2005/10/profile"> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| <link rel="icon" type="image/png" href="favicon.ico"> | |
| <link rel="stylesheet" type="text/css" href="css/style.css" /> | |
| <link rel="stylesheet" type="text/css" href="css/footer.css" /> | |
| <!--[if lt IE 7]> | |
| <link rel="stylesheet" type="text/css" href="css/ie7footer.css" /> | |
| <![endif]--> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $page_title = 'Mi Pagina Web'; | |
| require 'header.inc.php'; | |
| ?> | |
| <h1>Encabezado principal</h1> | |
| <p>Informacion</p> |