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
[Configuration] | |
AccelShowToolbars=FALSE | |
MiscMenubarDefault=FALSE | |
MiscToolbarsDefault=FALSE | |
AccelShowMenubar=<Control>grave | |
MiscBordersDefault=TRUE | |
MiscAlwaysShowTabs=FALSE | |
MiscConfirmClose=TRUE |
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
body { | |
background: #272822; | |
font: 1.1em/1.4em "Consolas", mono-space; | |
color: #fff; | |
} | |
#main-content { | |
width: 750px; | |
margin: 50px auto 0; | |
} |
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
body { | |
background: #272822; | |
font: 1.1em/1.4em "Consolas", mono-space; | |
color: #fff; | |
} | |
#main-content { | |
width: 750px; | |
margin: 50px auto 0; | |
} |
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
body { | |
background: #272822; | |
font: 1.1em/1.4em "Consolas", mono-space; | |
color: #fff; | |
margin: 0; | |
} | |
.wrapper { | |
width: 750px; | |
margin: 0 auto; |
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
body { | |
background | |
} |
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
location /wamp/ { | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_set_header Host $http_host; | |
proxy_pass http://127.0.0.1:3000/; | |
proxy_redirect off; | |
} |
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 | |
$host = $_SERVER["HTTP_HOST"]; | |
$uri = ($host === $_SERVER["SERVER_NAME"] || $_SERVER["SERVER_NAME"] !== "localhost" ? "/wamp" : "") . "/wordpress"; | |
$base_url = "http://" . $host . $uri; | |
define('WP_HOME', $base_url); | |
define('WP_SITEURL', $base_url); | |
?> |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; |
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 Static_Page_Model extends CI_Model { | |
function __construct() { | |
// Call the Model constructor | |
parent::__construct(); | |
} | |
public function createPage ($data) { | |
$data['date_created'] = date('Y-m-d H:i:s'); |
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 StaticPage extends CI_Controller { | |
public function __construct() { | |
parent::__construct(); | |
$this->load->model('static_page_model'); | |
} | |
public function index () { | |
$slug = $this->uri->segment(1); |
OlderNewer