Exemple #1
0
function install($src_path, $dest_dir, $overwrite)
{
    if (is_dir($src_path)) {
        install_dir($src_path, $dest_dir, $overwrite);
    } elseif (is_file($src_path)) {
        install_file($src_path, $dest_dir, $overwrite);
    }
}
Exemple #2
0
<?php

defined('DT_ADMIN') or exit('Access Denied');
file_copy(DT_ROOT . '/api/ajax.php', DT_ROOT . '/' . $dir . '/ajax.php');
install_file('index', $dir, 1);
install_file('list', $dir, 1);
install_file('show', $dir, 1);
install_file('search', $dir, 1);
install_file('private', $dir, 1);
install_file('view', $dir, 1);
Exemple #3
0
<?php

defined('IN_DESTOON') or exit('Access Denied');
file_copy(DT_ROOT . '/api/ajax.php', DT_ROOT . '/' . $dir . '/ajax.php');
install_file('index', $dir, 1);
install_file('list', $dir, 1);
install_file('show', $dir, 1);
install_file('search', $dir, 1);
install_file('price', $dir, 1);
install_file('product', $dir, 1);
Exemple #4
0
<?php

defined('DT_ADMIN') or exit('Access Denied');
file_copy(DT_ROOT . '/api/ajax.php', DT_ROOT . '/' . $dir . '/ajax.php');
install_file('index', $dir, 1);
install_file('list', $dir, 1);
install_file('show', $dir, 1);
install_file('search', $dir, 1);
install_file('down', $dir, 1);
Exemple #5
0
<?php

defined('IN_DESTOON') or exit('Access Denied');
file_copy(DT_ROOT . '/api/ajax.php', DT_ROOT . '/' . $dir . '/ajax.php');
install_file('index', $dir, 1);
install_file('list', $dir, 1);
install_file('show', $dir, 1);
install_file('search', $dir, 1);
install_file('price', $dir, 1);
Exemple #6
0
<?php

defined('IN_DESTOON') or exit('Access Denied');
file_copy(DT_ROOT . '/api/ajax.php', DT_ROOT . '/' . $dir . '/ajax.php');
install_file('index', $dir, 1);
install_file('list', $dir, 1);
install_file('show', $dir, 1);
install_file('search', $dir, 1);
install_file('resume', $dir, 1);
install_file('resume', $dir, 1);
install_file('apply', $dir, 1);
install_file('talent', $dir, 1);
Exemple #7
0
<?php

defined('DT_ADMIN') or exit('Access Denied');
file_copy(DT_ROOT . '/api/ajax.php', DT_ROOT . '/' . $dir . '/ajax.php');
install_file('index', $dir, 1);
install_file('list', $dir, 1);
install_file('show', $dir, 1);
install_file('search', $dir, 1);
Exemple #8
0
<?php

defined('DT_ADMIN') or exit('Access Denied');
file_copy(DT_ROOT . '/api/ajax.php', DT_ROOT . '/' . $dir . '/ajax.php');
install_file('index', $dir, 1);
install_file('list', $dir, 1);
install_file('show', $dir, 1);
install_file('search', $dir, 1);
install_file('message', $dir, 1);
Exemple #9
0
<?php

defined('DT_ADMIN') or exit('Access Denied');
file_copy(DT_ROOT . '/api/ajax.php', DT_ROOT . '/' . $dir . '/ajax.php');
install_file('index', $dir, 1);
install_file('list', $dir, 1);
install_file('show', $dir, 1);
install_file('search', $dir, 1);
install_file('sign', $dir, 1);
Exemple #10
0
<?php

defined('DT_ADMIN') or exit('Access Denied');
file_copy(DT_ROOT . '/api/ajax.php', DT_ROOT . '/' . $dir . '/ajax.php');
install_file('index', $dir, 1);
install_file('list', $dir, 1);
install_file('show', $dir, 1);
install_file('search', $dir, 1);
install_file('compare', $dir, 0);
install_file('inquiry', $dir, 1);
install_file('order', $dir, 1);
Exemple #11
0
<?php

defined('IN_DESTOON') or exit('Access Denied');
file_copy(DT_ROOT . '/api/ajax.php', DT_ROOT . '/' . $dir . '/ajax.php');
install_file('index', $dir, 1);
install_file('list', $dir, 1);
install_file('show', $dir, 1);
install_file('search', $dir, 1);
install_file('compare', $dir, 0);
install_file('inquiry', $dir, 1);
Exemple #12
0
<?php

defined('IN_DESTOON') or exit('Access Denied');
file_copy(DT_ROOT . '/api/ajax.php', DT_ROOT . '/' . $dir . '/ajax.php');
install_file('index', $dir, 1);
install_file('list', $dir, 1);
install_file('show', $dir, 1);
install_file('search', $dir, 1);
install_file('answer', $dir, 0);
install_file('expert', $dir, 1);
install_file('faq', $dir, 0);
Exemple #13
0
<?php

defined('IN_DESTOON') or exit('Access Denied');
file_copy(DT_ROOT . '/api/ajax.php', DT_ROOT . '/' . $dir . '/ajax.php');
install_file('index', $dir, 1);
install_file('list', $dir, 1);
install_file('show', $dir, 1);
install_file('search', $dir, 1);
install_file('type', $dir, 1);
Exemple #14
0
<?php

defined('DT_ADMIN') or exit('Access Denied');
file_copy(DT_ROOT . '/api/ajax.php', DT_ROOT . '/' . $dir . '/ajax.php');
install_file('index', $dir, 1);
install_file('list', $dir, 1);
install_file('show', $dir, 1);
install_file('search', $dir, 1);
install_file('compare', $dir, 0);
install_file('inquiry', $dir, 1);
install_file('buy', $dir, 1);
Exemple #15
0
<?php

defined('DT_ADMIN') or exit('Access Denied');
file_copy(DT_ROOT . '/api/ajax.php', DT_ROOT . '/' . $dir . '/ajax.php');
install_file('index', $dir, 1);
install_file('list', $dir, 1);
install_file('show', $dir, 1);
install_file('search', $dir, 1);
install_file('goto', $dir, 0);
install_file('fans', $dir, 1);