Sonntag, 22. April 2012
Zend Framework on 000webhost: library-path in index and bootstrap
// it seems absolute path is needed
// index.php:
ini_set('include_path', ini_get('include_path').':/home/a*******/library/:');
// bootstrap:
// it seems ROOT_DIR or $rootDir = dirname(dirname(__FILE__));
// not recognized
// Use absolute path instead
// . PATH_SEPARATOR . ROOT_DIR . '/library/'
// . PATH_SEPARATOR . ROOT_DIR . '/application/models/'
. PATH_SEPARATOR . '/home/a********/library/'
. PATH_SEPARATOR . '/home/a ******** /application/models/'
Abonnieren
Kommentare zum Post (Atom)
Keine Kommentare:
Kommentar veröffentlichen