CC-2271 1.8.2 code cleanup tasks
include the pear db class.
This commit is contained in:
parent
7315c42985
commit
b48220f0ea
|
@ -6,8 +6,9 @@
|
|||
* @license http://www.gnu.org/licenses/gpl.txt
|
||||
*/
|
||||
|
||||
set_include_path(__DIR__.'/../airtime_mvc/library' . PATH_SEPARATOR . get_include_path());
|
||||
|
||||
//Pear classes.
|
||||
set_include_path(__DIR__.'/../airtime_mvc/library/pear' . PATH_SEPARATOR . get_include_path());
|
||||
require_once('DB.php');
|
||||
|
||||
if(exec("whoami") != "root"){
|
||||
echo "Must be root user.\n";
|
||||
|
|
Loading…
Reference in New Issue