Skip to content

Commit

Permalink
Remove SITCON DEMO
Browse files Browse the repository at this point in the history
  • Loading branch information
david50407 committed Dec 31, 2013
1 parent 27ff772 commit eafde61
Show file tree
Hide file tree
Showing 48 changed files with 18 additions and 3,061 deletions.
4 changes: 2 additions & 2 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
RewriteEngine On
RewriteBase /
RewriteBase /Theogony/

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^/(.+)$
RewriteCond %{REQUEST_URI} ^/Theogony/(.+)$
RewriteCond %{DOCUMENT_ROOT}/public/%1 -f
RewriteRule ^(.*)$ public/%1 [L]

Expand Down
22 changes: 11 additions & 11 deletions app/views/layouts/homepage.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="zh_TW">
<head>
<meta charset="UTF-8">
<title><?=$config->site->title?></title>
<title><?= $config->site->title; ?></title>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
Expand All @@ -20,23 +20,23 @@
<body>
<div class="reveal">
<div class="slides">
<? if (count($_->slides) == 0): ?>
<?php if (count($_->slides) == 0): ?>
<section data-markdown='\no-slides.md' data-separator="^\n\n\n" data-vertical="^\n\n"></section>
<? else: ?>
<? foreach ($_->slides as $slide): ?>
<? if ($slide->markdown): ?>
<?php else: ?>
<?php foreach ($_->slides as $slide): ?>
<?php if ($slide->markdown): ?>
<section data-markdown>
<script type="text/template">
<?=$slide->content?>
<?= $slide->content; ?>
</script>
</section>
<? else: ?>
<?php else: ?>
<section>
<?=$slide->content?>
<?= $slide->content; ?>
</section>
<? endif; ?>
<? endforeach; ?>
<? endif; ?>
<?php endif; ?>
<?php endforeach; ?>
<?php endif; ?>
</div>
</div>
<div class='timer'> </div>
Expand Down
4 changes: 2 additions & 2 deletions config/config.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
$config->database = new \Theogony\Database\Mysql(function(&$config) {
$config->host = '127.0.0.1';
$config->username = 'root';
$config->password = 'toor';
$config->database = 'hexameter';
$config->password = 'free1116';
$config->database = 'Theogony';
});

$config->site = new ArrayObject();
Expand Down
2 changes: 1 addition & 1 deletion config/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Theogony\RoutesCore::draw(function($router) {
# You can set prefix directory for this site.
# $router->predir = '/';
$router->predir = '/';
$router->predir = '/Theogony/';

# Sample of regular route:
# $router->match(array('products/:id' => 'catalog#view'));
Expand Down
4 changes: 2 additions & 2 deletions lib/controller_base.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ public function import($file)
else
throw new \Theogony\Exceptions\NoAvailableLayoutException($this->cache->controller . '\_' . $file . '.' . $this->format);
}
public function yield()
public function mixin()
{
if ($this->usedLayout) return;
if (!$this->cache->usedLayout) return;

$_ = &$this->data; # sugar
$config = \Theogony\ConfigCore::getInstance();
Expand Down
51 changes: 0 additions & 51 deletions public/css/highlight/tomorrow-night-bright.css

This file was deleted.

115 changes: 0 additions & 115 deletions public/css/highlight/zenburn.css

This file was deleted.

Loading

0 comments on commit eafde61

Please sign in to comment.