Skip to content
Snippets Groups Projects
Commit 4c6d11e2 authored by Michiel de Jong's avatar Michiel de Jong
Browse files

move auth.css and remoteStorage-big.png to assets folders From where they can be included

parent 18c8896b
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ RewriteEngine on ...@@ -13,7 +13,7 @@ RewriteEngine on
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^.well-known/host-meta /public.php?service=host-meta [QSA,L] RewriteRule ^.well-known/host-meta /public.php?service=host-meta [QSA,L]
RewriteRule ^.well-known/carddav /remote.php/carddav/ [R] RewriteRule ^.well-known/carddav /remote.php/carddav/ [R]
RewriteRule ^.well-known/caldav /remote.php/caldav/ [R] RewriteRule ^.well-known/caldav /remote.php/caldav/ [R]
RewriteRule ^apps/([^/]*)/(.*\.(css|php))$ index.php?app=$1&getfile=$2 [QSA,L] RewriteRule ^apps/([^/]*)/(.*\.(css|php))$ index.php?app=$1&getfile=$2 [QSA,L]
RewriteRule ^remote/(.*) remote.php [QSA,L] RewriteRule ^remote/(.*) remote.php [QSA,L]
</IfModule> </IfModule>
......
...@@ -67,7 +67,7 @@ if($userId && $appUrl && $categories) { ...@@ -67,7 +67,7 @@ if($userId && $appUrl && $categories) {
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="../../../core/img/favicon.png" /><link rel="apple-touch-icon-precomposed" href="../../../core/img/favicon-touch.png" /> <link rel="shortcut icon" href="../../../core/img/favicon.png" /><link rel="apple-touch-icon-precomposed" href="../../../core/img/favicon-touch.png" />
<link rel="stylesheet" href="../../../core/css/styles.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../../../core/css/styles.css" type="text/css" media="screen" />
<link rel="stylesheet" href="?app=remoteStorage&getfile=auth.css" type="text/css" media="screen" /> <link rel="stylesheet" href="../../../core/css/auth.css" type="text/css" media="screen" />
</head> </head>
<body id="body-login"> <body id="body-login">
<div id="login"> <div id="login">
...@@ -78,7 +78,7 @@ if($userId && $appUrl && $categories) { ...@@ -78,7 +78,7 @@ if($userId && $appUrl && $categories) {
</header> </header>
<section id="main"> <section id="main">
<div id="oauth"> <div id="oauth">
<h2><img src="?app=remoteStorage&getfile=remoteStorage-big.png" alt="remoteStorage" /></h2> <h2><img src="../../../core/img/remoteStorage-big.png" alt="remoteStorage" /></h2>
<p><strong><?php $appUrlParts = explode('/', $_GET['redirect_uri']); echo htmlentities($appUrlParts[2]); ?></strong> <p><strong><?php $appUrlParts = explode('/', $_GET['redirect_uri']); echo htmlentities($appUrlParts[2]); ?></strong>
requests read &amp; write access to your requests read &amp; write access to your
<?php <?php
......
File moved
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