Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> zend framework + dojo
luckyNumber91
post 22.01.2011, 22:38:34
Post #1





Grupa: Zarejestrowani
Postów: 6
Pomógł: 0
Dołączył: 22.01.2011

Ostrzeżenie: (0%)
-----


Witam.

Udalo sie moze komus skonfigurwac dojo w zend framework? moze znacie jakies linki z opisem co i jak?

dzieki
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
luckyNumber91
post 23.01.2011, 19:51:05
Post #2





Grupa: Zarejestrowani
Postów: 6
Pomógł: 0
Dołączył: 22.01.2011

Ostrzeżenie: (0%)
-----


tak, sciezki sa ok. problem w tym, ze w drugim przypadku, juz na linii $this->bootstrap('view'); stronka przestaje dzialac.

moj plik index.php wyglada jak ponizej, moze to cos pomoze:
  1.  
  2. <?php
  3.  
  4. // Define path to application directory
  5. defined('APPLICATION_PATH')
  6. || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));
  7.  
  8. // Define application environment
  9. defined('APPLICATION_ENV')
  10. || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));
  11.  
  12. // Ensure library/ is on include_path
  13. set_include_path(implode(PATH_SEPARATOR, array(
  14. realpath(APPLICATION_PATH . '/../library'),
  15. )));
  16.  
  17. /** Zend_Application */
  18. require_once 'Zend/Application.php';
  19.  
  20. // Create application, bootstrap, and run
  21. $application = new Zend_Application(
  22. APPLICATION_ENV,
  23. APPLICATION_PATH . '/configs/application.ini'
  24. );
  25.  
  26. $application->bootstrap()
  27. ->run();

Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 29.06.2025 - 15:48