ksdev-pl / slim-image-archive Goto Github PK
View Code? Open in Web Editor NEWSimple, fast and secure archive for images
License: MIT License
Simple, fast and secure archive for images
License: MIT License
Good Day
this is a amazing project, and i cannot test it yet, i try use this to configure db, i think i miss something
$app->container->singleton('db', function () {
return new PDO('mysql:host=localhost;port=8889;dbname=images', 'user', 'password');
});
but i get a blank page, then when i try to see log files..
[28-Sep-2014 22:07:14 America/Bogota] PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /Applications/MAMP/htdocs/Slim-Image-Archive/app/app.php on line 61
[28-Sep-2014 22:07:14 America/Bogota] PHP Stack trace:
[28-Sep-2014 22:07:14 America/Bogota] PHP 1. {main}() /Applications/MAMP/htdocs/Slim-Image-Archive/public/index.php:0
also i got error 500 on the browser..
i really appreciate any help
Hi,
First of all, great job on this app. I really need something like this.
I can't get the project up and runing because I'm unable to point the web root to the /public folder.
I added an .htaccess file in the root dir with:
RewriteEngine On
RewriteBase /mpl/mh/votacoes2/
RewriteCond %{REQUEST_URI} !public/
RewriteRule (.*) public/$1 [L]
But I always get redirected to http://localhost/dashboard/ instead of http://localhost/mpl/mh/votacoes2
Can you please enlighten me?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.