Skip to content

Commit

Permalink
converted project to FatFree framework
Browse files Browse the repository at this point in the history
  • Loading branch information
olaulau committed Jun 17, 2023
1 parent 2f07bfa commit f974d04
Show file tree
Hide file tree
Showing 21 changed files with 556 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/vendor/
/config.inc.php
/rsync.conf.sh
/build/rsync.conf.sh
9 changes: 9 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
RewriteEngine On

RewriteRule ^(app|dict|ns|tmp)\/|\.ini$ - [R=404]

RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L,QSA]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
37 changes: 37 additions & 0 deletions assets/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/* Sticky footer styles
-------------------------------------------------- */
html {
position: relative;
min-height: 100%;
}
body {
/* Margin bottom by footer height */
margin-bottom: 60px;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
height: 60px;
line-height: 60px; /* Vertically center the text there */
background-color: #f5f5f5;
}


/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

body > .container {
padding: 60px 15px 0;
}

.footer > .container {
padding-right: 15px;
padding-left: 15px;
}

code {
font-size: 80%;
}
File renamed without changes.
2 changes: 1 addition & 1 deletion rsync.sh → build/rsync.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

source rsync.conf.sh
source build/rsync.conf.sh

time rsync \
--verbose --progress --itemize-changes --stats \
Expand Down
11 changes: 9 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
{
"require": {
"repositories": [
{
"type": "vcs",
"url": "https://github.com/olaulau/HtmlSkel"
}
],
"require": {
"olafnorge/borgphp": "^0.1.2",
"gabrielelana/byte-units": "^0.5.0"
"gabrielelana/byte-units": "^0.5.0",
"olaulau/htmlskel": "dev-master"
}
}
Loading

0 comments on commit f974d04

Please sign in to comment.