Changeset 11662
- Timestamp:
- 03/03/11 19:28:02 (2 years ago)
- Files:
-
- freepbx/branches/2.9/amp_conf/htdocs/admin/cdr/lib/defines.php (modified) (1 diff)
- freepbx/branches/2.9/amp_conf/htdocs/admin/common/db_connect.php (modified) (1 diff)
- freepbx/branches/2.9/amp_conf/htdocs/recordings/includes/database.php (modified) (1 diff)
- modules/branches/2.9/core/agi-bin/sql.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.9/amp_conf/htdocs/admin/cdr/lib/defines.php
r11047 r11662 44 44 /* on centos this extension is not loaded by default */ 45 45 if (! extension_loaded('sqlite3') && ! extension_loaded('SQLITE3')) 46 d l('sqlite3.so');46 die_freepbx('sqlite3.so extension must be loaded to run with sqlite3'); 47 47 48 48 if (! @require_once('DB/sqlite3.php') ) freepbx/branches/2.9/amp_conf/htdocs/admin/common/db_connect.php
r10865 r11662 39 39 /* on centos this extension is not loaded by default */ 40 40 if (! extension_loaded('sqlite3') && ! extension_loaded('SQLITE3')) 41 d l('sqlite3.so');41 die_freepbx('sqlite3.so extension must be loaded to run with sqlite3'); 42 42 43 43 if (! @require_once('DB/sqlite3.php') ) freepbx/branches/2.9/amp_conf/htdocs/recordings/includes/database.php
r6231 r11662 49 49 ); 50 50 if (! extension_loaded('sqlite3') && ! extension_loaded('SQLITE3')) { 51 dl('sqlite3.so');51 die_freepbx('sqlite3.so extension must be loaded to run with sqlite3'); 52 52 } 53 53 modules/branches/2.9/core/agi-bin/sql.php
r8468 r11662 196 196 $this->debug('Loading sqlite3.so', 4); 197 197 // It's not loaded. Load it. 198 // dl() is gone in php5, but since this will crash it anyhow, will just leave it as is 198 199 dl('sqlite3.so'); 199 200 // That would have crashed PHP if it couldn't load it, so we know it's loaded if
