updated
This commit is contained in:
parent
7012c9aa85
commit
552970f8b0
9
.htaccess
Normal file
9
.htaccess
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<IfModule mod_rewrite.c>
|
||||||
|
RewriteEngine On
|
||||||
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
||||||
|
RewriteBase /
|
||||||
|
RewriteRule ^index\.php$ - [L]
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteRule . /index.php [L]
|
||||||
|
</IfModule>
|
||||||
@ -25,6 +25,8 @@ The website is built entirely from scratch using pure PHP, without relying on an
|
|||||||
- [\[PHP\] FPHP](https://www.fpdf.org/): library which allows to generate PDF files with pure PHP, that is to say without using the PDFlib library.
|
- [\[PHP\] FPHP](https://www.fpdf.org/): library which allows to generate PDF files with pure PHP, that is to say without using the PDFlib library.
|
||||||
- [\[JS\] Swiper.js](https://github.com/nolimits4web/swiper): A highly customizable library for creating sliders and carousels.
|
- [\[JS\] Swiper.js](https://github.com/nolimits4web/swiper): A highly customizable library for creating sliders and carousels.
|
||||||
- [\[JS\] Toastify.js](https://github.com/apvarun/toastify-js): A lightweight library for creating beautiful and customizable toast notifications.
|
- [\[JS\] Toastify.js](https://github.com/apvarun/toastify-js): A lightweight library for creating beautiful and customizable toast notifications.
|
||||||
|
- [\[JS\] Three.js](https://github.com/mrdoob/three.js/): project is to create an easy-to-use, lightweight, cross-browser, general-purpose 3D library.
|
||||||
|
- [\[JS\] qrcode.js](https://davidshimjs.github.io/qrcodejs/): javascript library for making QRCode. QRCode.js supports Cross-browser with HTML5 Canvas and table tag in DOM. QRCode.js has no dependencies.
|
||||||
|
|
||||||
## Installing
|
## Installing
|
||||||
|
|
||||||
|
|||||||
@ -12,6 +12,7 @@ use Lycoreco\Includes\Model\ValidationError;
|
|||||||
class SingleSubmitController extends BaseController
|
class SingleSubmitController extends BaseController
|
||||||
{
|
{
|
||||||
protected $template_name = APPS_PATH . '/Recipes/Templates/single-submit.php';
|
protected $template_name = APPS_PATH . '/Recipes/Templates/single-submit.php';
|
||||||
|
protected $allow_role = 'user';
|
||||||
|
|
||||||
protected function post()
|
protected function post()
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user