Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP7 Decoder for ionCube Encoder)
- *
- * @ Version : 4.1.0.1
- * @ Author : DeZender
- * @ Release on : 29.08.2020
- * @ Official site : http://DeZender.Net
- *
- */
- class database_exception extends Exception
- {
- public function __construct($message)
- {
- parent::__construct($message);
- }
- }
- class database extends PDO
- {
- public $_is_mysql;
- public function __construct($connection = '', $user = '', $password = '', $clear = false)
- {
- global $_API;
- if (!$connection) {
- $connection = $_API->GetProperty('C_ActiveSync_DBConnection');
- $user = $_API->GetProperty('C_ActiveSync_DBUser');
- $password = $_API->GetProperty('C_ActiveSync_DBPass');
- }
- if (!$connection) {
- $db_path = str_replace('\\', '/', $_API->GetProperty('C_CalendarPath')) . 'activesync/db/';
- $db_name = $db_path . 'sync.db';
- _make_dir_tree($db_path);
- $connection = 'sqlite:' . $db_name;
- }
- if (substr($connection, 0, 5) == 'mysql') {
- parent::__construct($connection, $user, $password);
- ....................................................................
- ........................................
- ..............
Add Comment
Please, Sign In to add comment