-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 5eaef55
Showing
776 changed files
with
67,605 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
|
||
|
||
-- | ||
-- Tabellenstruktur für Tabelle `blogs` | ||
-- | ||
|
||
CREATE TABLE IF NOT EXISTS `blogs` ( | ||
`id` smallint(6) NOT NULL AUTO_INCREMENT, | ||
`cdate` datetime DEFAULT NULL, | ||
`title` varchar(128) DEFAULT NULL, | ||
`teaser` text, | ||
`content` text, | ||
`url` varchar(128) DEFAULT NULL, | ||
PRIMARY KEY (`id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
|
||
-- -------------------------------------------------------- | ||
|
||
-- | ||
-- Tabellenstruktur für Tabelle `objects` | ||
-- | ||
|
||
CREATE TABLE IF NOT EXISTS `objects` ( | ||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, | ||
`name` varchar(100) NOT NULL, | ||
PRIMARY KEY (`id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=latin1; | ||
|
||
-- -------------------------------------------------------- | ||
|
||
-- | ||
-- Tabellenstruktur für Tabelle `openinghours` | ||
-- | ||
|
||
CREATE TABLE IF NOT EXISTS `openinghours` ( | ||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, | ||
`from` datetime NOT NULL, | ||
`to` datetime NOT NULL, | ||
`station` int(10) unsigned NOT NULL, | ||
PRIMARY KEY (`id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=latin1; | ||
|
||
-- -------------------------------------------------------- | ||
|
||
-- | ||
-- Tabellenstruktur für Tabelle `rentals` | ||
-- | ||
|
||
CREATE TABLE IF NOT EXISTS `rentals` ( | ||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, | ||
`user` int(10) unsigned NOT NULL, | ||
`object` int(10) unsigned NOT NULL, | ||
`from` datetime NOT NULL, | ||
`to` datetime NOT NULL, | ||
`description` text NOT NULL, | ||
PRIMARY KEY (`id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=latin1; | ||
|
||
-- -------------------------------------------------------- | ||
|
||
-- | ||
-- Tabellenstruktur für Tabelle `users` | ||
-- | ||
|
||
CREATE TABLE IF NOT EXISTS `users` ( | ||
`id` smallint(6) NOT NULL AUTO_INCREMENT, | ||
`role` varchar(8) DEFAULT NULL, | ||
`email` varchar(128) DEFAULT NULL, | ||
`pass` varchar(60) DEFAULT NULL, | ||
`firstname` varchar(32) DEFAULT NULL, | ||
`lastname` varchar(32) DEFAULT NULL, | ||
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
PRIMARY KEY (`id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Copyright (c) 2005-2014, Zend Technologies USA, Inc. | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, | ||
are permitted provided that the following conditions are met: | ||
|
||
* Redistributions of source code must retain the above copyright notice, | ||
this list of conditions and the following disclaimer. | ||
|
||
* Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
|
||
* Neither the name of Zend Technologies USA, Inc. nor the names of its | ||
contributors may be used to endorse or promote products derived from this | ||
software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | ||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR | ||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON | ||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
dasLastenrad | ||
============ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "zendframework/skeleton-application", | ||
"description": "Skeleton Application for ZF2", | ||
"license": "BSD-3-Clause", | ||
"keywords": [ | ||
"framework", | ||
"zf2" | ||
], | ||
"homepage": "http://framework.zend.com/", | ||
"require": { | ||
"php": ">=5.3.3", | ||
"zendframework/zendframework": "2.3.*" | ||
} | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<?php | ||
return array( | ||
// This should be an array of module namespaces used in the application. | ||
'modules' => array( | ||
'Application', | ||
'Lastenrad', | ||
'User', | ||
'Rentals', | ||
'Blog', | ||
|
||
), | ||
|
||
// These are various options for the listeners attached to the ModuleManager | ||
'module_listener_options' => array( | ||
// This should be an array of paths in which modules reside. | ||
// If a string key is provided, the listener will consider that a module | ||
// namespace, the value of that key the specific path to that module's | ||
// Module class. | ||
'module_paths' => array( | ||
'./module', | ||
'./vendor', | ||
), | ||
|
||
// An array of paths from which to glob configuration files after | ||
// modules are loaded. These effectively override configuration | ||
// provided by modules themselves. Paths may use GLOB_BRACE notation. | ||
'config_glob_paths' => array( | ||
'config/autoload/{,*.}{global,local}.php', | ||
), | ||
|
||
// Whether or not to enable a configuration cache. | ||
// If enabled, the merged configuration will be cached and used in | ||
// subsequent requests. | ||
//'config_cache_enabled' => $booleanValue, | ||
|
||
// The key used to create the configuration cache file name. | ||
//'config_cache_key' => $stringKey, | ||
|
||
// Whether or not to enable a module class map cache. | ||
// If enabled, creates a module class map cache which will be used | ||
// by in future requests, to reduce the autoloading process. | ||
//'module_map_cache_enabled' => $booleanValue, | ||
|
||
// The key used to create the class map cache file name. | ||
//'module_map_cache_key' => $stringKey, | ||
|
||
// The path in which to cache merged configuration. | ||
//'cache_dir' => $stringPath, | ||
|
||
// Whether or not to enable modules dependency checking. | ||
// Enabled by default, prevents usage of modules that depend on other modules | ||
// that weren't loaded. | ||
// 'check_dependencies' => true, | ||
), | ||
|
||
// Used to create an own service manager. May contain one or more child arrays. | ||
//'service_listener_options' => array( | ||
// array( | ||
// 'service_manager' => $stringServiceManagerName, | ||
// 'config_key' => $stringConfigKey, | ||
// 'interface' => $stringOptionalInterface, | ||
// 'method' => $stringRequiredMethodName, | ||
// ), | ||
// ) | ||
|
||
// Initial configuration with which to seed the ServiceManager. | ||
// Should be compatible with Zend\ServiceManager\Config. | ||
// 'service_manager' => array(), | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
About this directory: | ||
===================== | ||
|
||
By default, this application is configured to load all configs in | ||
`./config/autoload/{,*.}{global,local}.php`. Doing this provides a | ||
location for a developer to drop in configuration override files provided by | ||
modules, as well as cleanly provide individual, application-wide config files | ||
for things like database connections, etc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
/** | ||
* Global Configuration Override | ||
* | ||
* You can use this file for overriding configuration values from modules, etc. | ||
* You would place values in here that are agnostic to the environment and not | ||
* sensitive to security. | ||
* | ||
* @NOTE: In practice, this file will typically be INCLUDED in your source | ||
* control, so do not include passwords or other sensitive information in this | ||
* file. | ||
*/ | ||
|
||
return array( | ||
'email_receiver' => '[email protected]', | ||
'email_sender' => '[email protected]', | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
/** | ||
* Local Configuration Override | ||
* | ||
* This configuration override file is for overriding environment-specific and | ||
* security-sensitive configuration information. Copy this file without the | ||
* .dist extension at the end and populate values as needed. | ||
* | ||
* @NOTE: This file is ignored from Git by default with the .gitignore included | ||
* in ZendSkeletonApplication. This is a good practice, as it prevents sensitive | ||
* credentials from accidentally being committed into version control. | ||
*/ | ||
|
||
return array( | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?php | ||
/** | ||
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository | ||
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
*/ | ||
|
||
/** | ||
* This autoloading setup is really more complicated than it needs to be for most | ||
* applications. The added complexity is simply to reduce the time it takes for | ||
* new developers to be productive with a fresh skeleton. It allows autoloading | ||
* to be correctly configured, regardless of the installation method and keeps | ||
* the use of composer completely optional. This setup should work fine for | ||
* most users, however, feel free to configure autoloading however you'd like. | ||
*/ | ||
|
||
// Composer autoloading | ||
if (file_exists('vendor/autoload.php')) { | ||
$loader = include 'vendor/autoload.php'; | ||
} | ||
|
||
if (class_exists('Zend\Loader\AutoloaderFactory')) { | ||
return; | ||
} | ||
|
||
$zf2Path = false; | ||
|
||
if (is_dir('vendor/ZF2/library')) { | ||
$zf2Path = 'vendor/ZF2/library'; | ||
} elseif (getenv('ZF2_PATH')) { // Support for ZF2_PATH environment variable or git submodule | ||
$zf2Path = getenv('ZF2_PATH'); | ||
} elseif (get_cfg_var('zf2_path')) { // Support for zf2_path directive value | ||
$zf2Path = get_cfg_var('zf2_path'); | ||
} | ||
|
||
if ($zf2Path) { | ||
if (isset($loader)) { | ||
$loader->add('Zend', $zf2Path); | ||
$loader->add('ZendXml', $zf2Path); | ||
} else { | ||
include $zf2Path . '/Zend/Loader/AutoloaderFactory.php'; | ||
Zend\Loader\AutoloaderFactory::factory(array( | ||
'Zend\Loader\StandardAutoloader' => array( | ||
'autoregister_zf' => true | ||
) | ||
)); | ||
} | ||
} | ||
|
||
if (!class_exists('Zend\Loader\AutoloaderFactory')) { | ||
throw new RuntimeException('Unable to load ZF2. Run `php composer.phar install` or define a ZF2_PATH environment variable.'); | ||
} |
Oops, something went wrong.