Add psr-4 stuff.
This commit is contained in:
parent
f24b967b6a
commit
193028c23d
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
.idea/
|
||||
vendor
|
||||
|
@ -12,6 +12,11 @@
|
||||
"email": "maltehuebner@gmx.org"
|
||||
}
|
||||
],
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"StaticMapLite\\": "src"
|
||||
}
|
||||
},
|
||||
"minimum-stability": "stable",
|
||||
"require": {}
|
||||
}
|
||||
|
@ -4,7 +4,6 @@ namespace StaticMapLite;
|
||||
|
||||
class staticMapLite
|
||||
{
|
||||
|
||||
protected $maxWidth = 1024;
|
||||
protected $maxHeight = 1024;
|
||||
|
||||
|
@ -25,13 +25,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
error_reporting(0);
|
||||
ini_set('display_errors', 'off');
|
||||
require_once '../vendor/autoload.php';
|
||||
|
||||
Class staticMapLite
|
||||
{
|
||||
|
||||
}
|
||||
use StaticMapLite\staticMapLite;
|
||||
|
||||
$map = new staticMapLite();
|
||||
print $map->showMap();
|
||||
|
Loading…
Reference in New Issue
Block a user