Example #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);
    }
}
Example #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);
Example #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);
Example #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);
Example #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);
Example #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);
Example #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);
Example #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);
Example #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);
Example #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);
Example #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);
Example #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);
Example #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);
Example #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);
Example #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);