Skip to content
Snippets Groups Projects
Commit f7b4a827 authored by Puguh Wijayanto's avatar Puguh Wijayanto
Browse files

Version 1.1.2 #75 #81 add cache

#81
#75
Version 1.1.2 Release
Add Cache Control
parent 500645e6
No related branches found
No related tags found
No related merge requests found
Showing
with 142 additions and 22 deletions
# GeniXCMS
> Update Notice: Please Update to version v1.1.1.
> Update Notice: Please Update to version v1.1.2.
[![Build Status](https://travis-ci.org/semplon/GeniXCMS.svg?branch=master)](https://travis-ci.org/semplon/GeniXCMS)
[![CircleCI](https://circleci.com/gh/semplon/GeniXCMS.svg?style=shield&circle-token=c2ef105b7d61e90dadd066ad0e25e3f53d97c6c1)](https://circleci.com/gh/semplon/GeniXCMS)
Loading
Loading
@@ -86,6 +86,8 @@ define('USE_MEMCACHED', false);
- Run at your browser `http://yourwebsite.com/upgrade.php`.
- Choose the previous version of your GeniXCMS version.
- Don't forget to create Cache directory if want to use Cache System
### Showcase
Showcase URL :
- [http://demo.genix.id](http://demo.genix.id)
Loading
Loading
1.1.1
1.1.2
Loading
Loading
@@ -4,7 +4,7 @@
* PHP Based Content Management System and Framework
* @package GeniXCMS
* @since 0.0.1 build date 20150221
* @version 1.1.1
* @version 1.1.2
* @link https://github.com/semplon/GeniXCMS
* @link http://genix.id
* @author Puguh Wijayanto <psw@metalgenix.com>
Loading
Loading
Loading
Loading
@@ -2,7 +2,7 @@
"name": "genix/cms",
"type": "project",
"description": "Simple and Free Opensource CMS and Framework",
"version": "1.1.1",
"version": "1.1.2",
"homepage": "http://genix.id",
"keywords": ["genixcms", "genix", "cms", "metalgenix", "blog", "blog software", "bootstrap"],
"license": "MIT",
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@
*
* @since 0.0.1 build date 20140928
*
* @version 1.1.1
* @version 1.1.2
*
* @link https://github.com/semplon/GeniXCMS
* @link http://genix.id
Loading
Loading
@@ -35,6 +35,11 @@ if (isset($_POST['forgotpass'])) {
// VALIDATE ALL
$alertDanger[] = TOKEN_NOT_EXIST;
}
// check last request
if (!User::lastRequestPassword()) {
$alertDanger[] = 'You had reached request password Limit!';
}
if (Xaptcha::isEnable()) {
if (!isset($_POST['g-recaptcha-response']) || $_POST['g-recaptcha-response'] == '') {
$alertDanger[] = 'Please insert the Captcha';
Loading
Loading
@@ -110,11 +115,14 @@ if (isset($_POST['forgotpass'])) {
 
Token::remove($token);
} else {
$data['alertDanger'][] = $alertDanger;
$data['alertDanger'] = $alertDanger;
}
}
Theme::theme('header');
Theme::theme('header', $data);
echo "<div class='container'>";
echo System::alert($data);
echo "</div>";
if (!User::isLoggedin()) {
?>
<div class="container">
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@
*
* @since 0.0.1 build date 20140928
*
* @version 1.1.1
* @version 1.1.2
*
* @link https://github.com/semplon/GeniXCMS
* @link http://genix.id
Loading
Loading
@@ -111,7 +111,7 @@ if (isset($_POST['forgotpass'])) {
 
Token::remove($token);
} else {
$data['alertDanger'][] = $alertDanger;
$data['alertDanger'] = $alertDanger;
}
}
Theme::admin('headermini', $data);
Loading
Loading
<?php
defined('GX_LIB') or die('Direct Access Not Allowed!');
/**
* GeniXCMS - Content Management System.
*
* PHP Based Content Management System and Framework
*
* @since 1.1.2 build date 20170912
*
* @version 1.1.2
*
* @link https://github.com/semplon/GeniXCMS
* @link http://genix.id
*
* @author Puguh Wijayanto <psw@metalgenix.com>
* @copyright 2014-2017 Puguh Wijayanto
* @license http://www.opensource.org/licenses/mit-license.php MIT
*/
?>
<form action="index.php?page=cache" method="post">
<div class="col-md-12">
<?=Hooks::run('admin_page_notif_action', $data);?>
<?=Hooks::run('admin_page_top_action', $data);?>
</div>
<section class="content-header">
<h1 class="clearfix">
<div class="pull-left">
<i class="fa fa-archive"></i> Cache Settings
</div>
<div class="pull-right">
<button type="submit" name="change" class="btn btn-success btn-sm" value="Change">
<span class="glyphicon glyphicon-ok"></span>
<span class="hidden-xs hidden-sm"><?=CHANGE;?></span>
</button>
<button type="reset" class="btn btn-danger btn-sm" value="Cancel">
<span class="glyphicon glyphicon-remove"></span>
<span class="hidden-xs hidden-sm"><?=CANCEL;?></span>
</button>
</div>
</h1>
</section>
<section class="content">
<!-- Default box -->
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">
Settings Cache
</h3>
<div class="box-tools pull-right">
</div>
</div>
<div class="box-body">
<div class="row">
<div class="col-md-6">
<div class="row">
<div class="col-sm-6 form-group">
<label>Enable <code>cache</code> ?</label>
<?php if ($data['cache_enabled'] === 'on') {
$enable_cache = 'checked';
} else {
$enable_cache = 'unchecked';
}
?>
<div class="input-group">
<input type="checkbox" name="cache_enabled" rel="tooltip"
title="Check here if you want to enable comment system" <?=$enable_cache;?>> Enable Cache
</div>
<small class="help-block">Check this if you want to enable Cache system</small>
</div>
<div class="col-md-6 form-group">
<label>Cache Timeout</label>
<input type="number" name="cache_timeout" value="<?=$data['cache_timeout'];?>" class="form-control">
<span>Cache file timeout, in <kbd>seconds</kbd></span>
</div>
</div>
</div>
<div class="col-md-6 ">
<div class="form-group">
<label>Cache Path</label>
<input type="text" class="form-control" name="cache_path" value="<?=$data['cache_path'];?>">
<span class="help-block">Cache path, don't forget it to <code>chmod</code> it <kbd>777</kbd></span>
</div>
</div>
</div>
</div>
<!-- /.box-body -->
<!-- <div class="box-footer">-->
<!---->
<!-- </div>-->
<!-- /.box-footer-->
</div>
<!-- /.box -->
</section>
<input type="hidden" name="token" value="<?=TOKEN;?>">
</form>
Loading
Loading
@@ -6,7 +6,7 @@
*
* @since 0.0.1 build date 20150202
*
* @version 1.1.1
* @version 1.1.2
*
* @link https://github.com/semplon/GeniXCMS
* @link http://genix.id
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@
*
* @since 0.0.8 build date 20160313
*
* @version 1.1.1
* @version 1.1.2
*
* @link https://github.com/semplon/GeniXCMS
* @link http://genix.id
Loading
Loading
Loading
Loading
@@ -7,7 +7,7 @@ defined('GX_LIB') or die('Direct Access Not Allowed!');
*
* @since 1.0.0 build date 20160830
*
* @version 1.1.1
* @version 1.1.2
*
* @link https://github.com/semplon/GeniXCMS
* @link http://genix.id
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@
*
* @since 0.0.1 build date 20150202
*
* @version 1.1.1
* @version 1.1.2
*
* @link https://github.com/semplon/GeniXCMS
* @link http://genix.id
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@
*
* @since 0.0.1 build date 20150202
*
* @version 1.1.1
* @version 1.1.2
*
* @link https://github.com/semplon/GeniXCMS
* @link http://genix.id
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@
*
* @since 0.0.1 build date 20150202
*
* @version 1.1.1
* @version 1.1.2
*
* @link https://github.com/semplon/GeniXCMS
* @link http://genix.id
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@
*
* @since 0.0.1 build date 20150202
*
* @version 1.1.1
* @version 1.1.2
*
* @link https://github.com/semplon/GeniXCMS
* @link http://genix.id
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@
*
* @since 0.0.1 build date 20150202
*
* @version 1.1.1
* @version 1.1.2
*
* @link https://github.com/semplon/GeniXCMS
* @link http://genix.id
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@
*
* @since 0.0.1 build date 20150202
*
* @version 1.1.1
* @version 1.1.2
*
* @link https://github.com/semplon/GeniXCMS
* @link http://genix.id
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@
*
* @since 0.0.7 build date 20150718
*
* @version 1.1.1
* @version 1.1.2
*
* @link https://github.com/semplon/GeniXCMS
* @link http://genix.id
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@
*
* @since 0.0.1 build date 20150202
*
* @version 1.1.1
* @version 1.1.2
*
* @link https://github.com/semplon/GeniXCMS
* @link http://genix.id
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@
*
* @since 0.0.1 build date 20150202
*
* @version 1.1.1
* @version 1.1.2
*
* @link https://github.com/semplon/GeniXCMS
* @link http://genix.id
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@
*
* @since 0.0.8 build date 20160313
*
* @version 1.1.1
* @version 1.1.2
*
* @link https://github.com/semplon/GeniXCMS
* @link http://genix.id
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment