Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Oracle extends CI_Controller {
- function __construct() {
- parent::__construct();
- }
- function index() {
- $this->db = $this->load->database('default',TRUE);
- if(!empty($this->db))
- echo "Connected!"."\n";
- else
- echo "Closed"."\n";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement