Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // zend framework è in /var/www/lib/Zend mentre il file che contiene l'autoloader è nella root
- <?php
- // Setting include_path to add library to included dirs
- set_include_path(realpath(__DIR__ . DIRECTORY_SEPARATOR . 'lib' . DIRECTORY_SEPARATOR .'Zend'.DIRECTORY_SEPARATOR. 'library') . PATH_SEPARATOR . get_include_path());
- // Initializing autoloader
- require_once 'Zend/Loader/Autoloader.php';
- Zend_Loader_Autoloader::getInstance();
- $dbh = new PDO('pgsql:user=garbezzano password=*a571992g* host=127.0.0.1 dbname=dbstrumenti');
- ?>
Add Comment
Please, Sign In to add comment