Пример #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);
    }
}
Пример #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);
Пример #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);
Пример #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);
Пример #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);
Пример #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);
Пример #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);
Пример #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);
Пример #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);
Пример #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);
Пример #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);
Пример #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);
Пример #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);
Пример #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);
Пример #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);