Revert "Move css and img to assets dir and set an expires policy"
This reverts commit 5a910ad63a
.
This commit is contained in:
parent
b1eab41d5a
commit
263f72a48a
|
@ -1,13 +0,0 @@
|
||||||
<IfModule mod_rewrite.c>
|
|
||||||
RewriteEngine On
|
|
||||||
RewriteRule "^([^/]+)/(.+)$" "$2" [PT]
|
|
||||||
</IfModule>
|
|
||||||
|
|
||||||
<IfModule mod_expires.c>
|
|
||||||
ExpiresActive On
|
|
||||||
ExpiresDefault "access plus 1 year"
|
|
||||||
<IfModule mod_headers.c>
|
|
||||||
Header unset ETag
|
|
||||||
Header set Cache-Control "public, max-age=30672000"
|
|
||||||
</IfModule>
|
|
||||||
</IfModule>
|
|
|
@ -33,7 +33,7 @@ if (!empty($_POST['login'])) {
|
||||||
<div class="loginpage">
|
<div class="loginpage">
|
||||||
<div class="loginbox">
|
<div class="loginbox">
|
||||||
<div class="illustration">
|
<div class="illustration">
|
||||||
<img src="assets/<?php print VERSION; ?>/logo.png" class="img-responsive" alt="Responsive image">
|
<img src="img/logo.png" class="img-responsive" alt="Responsive image">
|
||||||
</div>
|
</div>
|
||||||
<form method="POST" action="auth.php" method="post" name="auth">
|
<form method="POST" action="auth.php" method="post" name="auth">
|
||||||
<div class="form-group has-feedback has-feedback-left">
|
<div class="form-group has-feedback has-feedback-left">
|
||||||
|
|
1
htdocs/favicon.ico
Symbolic link
1
htdocs/favicon.ico
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
img/favicon.ico
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
|
@ -2,7 +2,7 @@
|
||||||
<div id="top" class="container">
|
<div id="top" class="container">
|
||||||
<div class="navbar-brand logo">
|
<div class="navbar-brand logo">
|
||||||
<a href="https://evolix.com/" target="_blank">
|
<a href="https://evolix.com/" target="_blank">
|
||||||
<img src="assets/<?php print VERSION; ?>/logo.png" alt="Evolix" class="img-responsive"/>
|
<img src="img/logo.png" alt="Evolix" class="img-responsive"/>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<ul class="nav navbar-nav">
|
<ul class="nav navbar-nav">
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
<meta name="robots" content="noindex,nofollow"/>
|
<meta name="robots" content="noindex,nofollow"/>
|
||||||
<meta name="referrer" content="same-origin"/>
|
<meta name="referrer" content="same-origin"/>
|
||||||
<title><?php print $config['global']['name']; ?></title>
|
<title><?php print $config['global']['name']; ?></title>
|
||||||
<link rel="stylesheet" href="assets/<?php print VERSION; ?>/main.css"/>
|
<link rel="stylesheet" href="css/main.css" type="text/css"/>
|
||||||
<link rel="shortcut icon" href="assets/<?php print VERSION; ?>/favicon.ico"/>
|
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous"/>
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous"/>
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.16/css/dataTables.bootstrap.min.css" integrity="sha256-PbaYLBab86/uCEz3diunGMEYvjah3uDFIiID+jAtIfw=" crossorigin="anonymous"/>
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.16/css/dataTables.bootstrap.min.css" integrity="sha256-PbaYLBab86/uCEz3diunGMEYvjah3uDFIiID+jAtIfw=" crossorigin="anonymous"/>
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
define("VERSION", "2.0.0");
|
|
||||||
|
|
||||||
spl_autoload_register(function ($class) {
|
spl_autoload_register(function ($class) {
|
||||||
$class = strtolower($class);
|
$class = strtolower($class);
|
||||||
if (file_exists("lib/class.$class.php")) {
|
if (file_exists("lib/class.$class.php")) {
|
||||||
|
|
Loading…
Reference in a new issue