Created
September 21, 2011 12:47
-
-
Save zoranzaric/1231941 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
######### | |
# Path | |
######## | |
application/modules/selfcare/controllers/CdrController.php | |
########## | |
# Config: | |
########## | |
[production] | |
phpSettings.display_startup_errors = 0 | |
phpSettings.display_errors = 0 | |
includePaths.library = APPLICATION_PATH "/../library" | |
bootstrap.path = APPLICATION_PATH "/Bootstrap.php" | |
bootstrap.class = "Bootstrap" | |
appnamespace = "Application" | |
resources.frontController.moduleDirectory = APPLICATION_PATH "/modules" | |
; added for Doctrine2 Integration | |
pluginPaths.Bisna_Application_Resource = "Bisna/Application/Resource" | |
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers" | |
resources.frontController.params.displayExceptions = 0 | |
resources.log.stream.writerName = "Stream" | |
resources.log.stream.writerParams.stream = APPLICATION_PATH "/log/application.log" | |
resources.log.stream.writerParams.mode = "a" | |
resources.log.stream.filterName = "Priority" | |
resources.log.stream.filterParams.priority = 4 | |
resources.log.stream.formatterName = "Simple" | |
resources.log.stream.formatterParams.format = '%timestamp%;%priorityName%;"%message%"' PHP_EOL | |
autoloaderNamespaces[] = "Thinxx" | |
; ------------------------------------------------------------------------------ | |
; Doctrine2 configuration | |
; ------------------------------------------------------------------------------ | |
; | |
autoloaderNamespaces[] = "Bisna" | |
autoloaderNamespaces[] = "Doctrine" | |
autoloaderNamespaces[] = "Symfony" | |
; ------------------------------------------------------------------------------ | |
; Doctrine Cache Configuration | |
; ------------------------------------------------------------------------------ | |
; Points to default cache instance to be used. Optional is only one cache is defined | |
resources.doctrine.cache.defaultCacheInstance = default | |
; Cache Instance configuration for "default" cache | |
resources.doctrine.cache.instances.default.adapterClass = "Doctrine\Common\Cache\ArrayCache" | |
resources.doctrine.cache.instances.default.namespace = "Application_" | |
resources.doctrine.cache.instances.default.options.servers.0.host = localhost | |
resources.doctrine.cache.instances.default.options.servers.0.port = 11211 | |
; ------------------------------------------------------------------------------ | |
; Doctrine DBAL Configuration | |
; ------------------------------------------------------------------------------ | |
; Points to default connection to be used. Optional if only one connection is defined | |
resources.doctrine.dbal.defaultConnection = default | |
; Database configuration | |
;resources.doctrine.dbal.connections.default.parameters.wrapperClass = "" | |
resources.doctrine.dbal.connections.default.parameters.driver = "pdo_mysql" | |
resources.doctrine.dbal.connections.default.parameters.dbname = "" | |
resources.doctrine.dbal.connections.default.parameters.host = "localhost" | |
resources.doctrine.dbal.connections.default.parameters.port = 3306 | |
resources.doctrine.dbal.connections.default.parameters.user = "" | |
resources.doctrine.dbal.connections.default.parameters.password = "" | |
; ------------------------------------------------------------------------------ | |
; Doctrine ORM Configuration | |
; ------------------------------------------------------------------------------ | |
; Points to default EntityManager to be used. Optional if only one EntityManager is defined | |
resources.doctrine.orm.defaultEntityManager = default | |
; EntityManager configuration for "default" manager | |
resources.doctrine.orm.entityManagers.default.connection = default | |
resources.doctrine.orm.entityManagers.default.proxy.autoGenerateClasses = true | |
resources.doctrine.orm.entityManagers.default.proxy.namespace = "Thinxx\Entity\Proxy" | |
resources.doctrine.orm.entityManagers.default.proxy.dir = APPLICATION_PATH "/../library/Thinxx/Entity/Proxy" | |
resources.doctrine.orm.entityManagers.default.metadataDrivers.0.adapterClass = "Doctrine\ORM\Mapping\Driver\AnnotationDriver" | |
resources.doctrine.orm.entityManagers.default.metadataDrivers.0.mappingNamespace = "Thinxx\Entity" | |
resources.doctrine.orm.entityManagers.default.metadataDrivers.0.mappingDirs[] = APPLICATION_PATH "/../library/Thinxx/Entity" | |
resources.doctrine.orm.entityManagers.default.metadataDrivers.0.annotationReaderClass = "Doctrine\Common\Annotations\AnnotationReader" | |
resources.doctrine.orm.entityManagers.default.metadataDrivers.0.annotationReaderCache = default | |
; ------------------------------------------------------------------------------ | |
; Zend_Mail Configuration | |
; ------------------------------------------------------------------------------ | |
resources.mail.transport.type = smtp | |
resources.mail.transport.host = "smtp.example.com" | |
resources.mail.transport.auth = login | |
resources.mail.transport.username = myUsername | |
resources.mail.transport.password = myPassword | |
resources.mail.transport.register = true ; True by default | |
resources.mail.defaultFrom.email = [email protected] | |
resources.mail.defaultFrom.name = "John Doe" | |
resources.mail.defaultReplyTo.email = [email protected] | |
resources.mail.defaultReplyTo.name = "Jane Doe" | |
; ------------------------------------------------------------------------------ | |
; SMSTrade Configuration | |
; ------------------------------------------------------------------------------ | |
smstrade.uri = "://gateway.smstrade.de" | |
smstrade.apikey = "" | |
smstrade.route = "" | |
smstrade.debug = 1 | |
; ------------------------------------------------------------------------------ | |
; AddCAll Configuration | |
; ------------------------------------------------------------------------------ | |
addcall.acli = "" | |
addcall.apikey = "" | |
addcall.productname = "" | |
addcall.initial_balance_paymentprovider = "POSTPAID_INIT" | |
addcall.initial_balance_amount = 50000 | |
addcall.paypal_paymentprovider = "" | |
addcall.callback_url = "" | |
[staging : production] | |
[testing : production] | |
phpSettings.display_startup_errors = 1 | |
phpSettings.display_errors = 1 | |
resources.doctrine.orm.entityManagers.default.proxy.autoGenerateClasses = false | |
resources.doctrine.dbal.connections.default.parameters.driver = "pdo_sqlite" | |
resources.doctrine.dbal.connections.default.parameters.path = APPLICATION_PATH "/../tests/data/testing.db" | |
resources.log.stream.filterParams.priority = 7 | |
smstrade.debug = 1 | |
[development : production] | |
phpSettings.display_startup_errors = 1 | |
phpSettings.display_errors = 1 | |
resources.frontController.params.displayExceptions = 1 | |
resources.doctrine.orm.entityManagers.default.proxy.autoGenerateClasses = false | |
resources.doctrine.dbal.connections.default.parameters.driver = "pdo_sqlite" | |
resources.doctrine.dbal.connections.default.parameters.path = APPLICATION_PATH "/../data/dev.db" | |
resources.log.stream.filterParams.priority = 7 | |
smstrade.debug = 1 | |
######### | |
# Curl: | |
######### | |
curl "http://zf.local/selfcare/cdr/index" | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Zend Framework Default Application</title> | |
</head> | |
<body> | |
<h1>An error occurred</h1> | |
<h2>Page not found</h2> | |
<h3>Exception information:</h3> | |
<p> | |
<b>Message:</b> Invalid controller specified (selfcare) </p> | |
<h3>Stack trace:</h3> | |
<pre>#0 /home/zz/workspaces/thinxx/webservice/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) | |
#1 /home/zz/workspaces/thinxx/webservice/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() | |
#2 /home/zz/workspaces/thinxx/webservice/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() | |
#3 /home/zz/workspaces/thinxx/webservice/public/index.php(26): Zend_Application->run() | |
#4 {main} </pre> | |
<h3>Request Parameters:</h3> | |
<pre>array ( | |
'controller' => 'selfcare', | |
'action' => 'cdr', | |
'module' => 'default', | |
) </pre> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment