Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

More work over application structure.

  • Loading branch information...
commit 8a18ccd0292713c894ca6d00c0dfb494e0b73634 1 parent 8cab4f3
@guilhermeblanco authored
View
16 application/configs/application.ini
@@ -20,7 +20,7 @@ bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
; ZF Resources
-;pluginPaths.Bisna_Application_Resource = "Bisna/Application/Resource"
+pluginPaths.Bisna_Application_Resource = "Bisna/Application/Resource"
; ZF Application Config
appnamespace = "Application"
@@ -43,8 +43,8 @@ resources.frontController.params.env = APPLICATION_ENV
; ------------------------------------------------------------------------------
; Layout & Templates
; ------------------------------------------------------------------------------
-;resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts"
-;app.layouts.custom.default = layout
+resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts"
+app.layouts.custom.default = layout
; ------------------------------------------------------------------------------
@@ -57,12 +57,12 @@ resources.view.encoding = "UTF-8"
; ------------------------------------------------------------------------------
; Locale & Translate Configuration
; ------------------------------------------------------------------------------
-;resources.locale.default = "en_US"
-;resources.locale.force = true
+resources.locale.default = "en_US"
+resources.locale.force = true
-;resources.translate.adapter = "ini"
-;resources.translate.data = APPLICATION_PATH "/languages"
-;resources.translate.scan = Zend_Translate::LOCALE_DIRECTORY
+resources.translate.adapter = "ini"
+resources.translate.data = APPLICATION_PATH "/languages"
+resources.translate.scan = Zend_Translate::LOCALE_DIRECTORY
; ------------------------------------------------------------------------------
View
17 application/languages/en/en_US.ini
@@ -0,0 +1,17 @@
+[production]
+env = production
+
+
+
+[staging : production]
+env = staging
+
+
+
+[testing : production]
+env = testing
+
+
+
+[development : production]
+env = development
View
16 application/layouts/scripts/layout.phtml
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <?php echo $this->headTitle(); ?>
+
+ <meta charset="UTF-8" />
+ <?php echo $this->headMeta(); ?>
+
+ <?php echo $this->headLink(); ?>
+ <?php echo $this->headStyle(); ?>
+ </head>
+
+ <body>
+ <?php echo $this->layout()->content; ?>
+ </body>
+</html>
View
0  ...ation/controllers/IndexControllerTest.php → ...s/web/controllers/IndexControllerTest.php
File renamed without changes
View
1  tests/bootstrap.php
@@ -11,6 +11,7 @@
// Ensure library/ is on include_path
set_include_path(implode(PATH_SEPARATOR, array(
realpath(APPLICATION_PATH . '/../library'),
+ realpath(APPLICATION_PATH . '/../library/vendor'),
get_include_path(),
)));
Please sign in to comment.
Something went wrong with that request. Please try again.