Diff for scripts/php/sk-nic/sk-nic.php between version 1.6 and 1.7
| version 1.6, 2011/08/11 08:50:54 |
version 1.7, 2015/08/27 03:10:08 |
|
|
| * |
* |
| */ |
*/ |
| |
|
| /* $Platon: scripts/php/sk-nic/sk-nic.php,v 1.5 2007-03-14 19:04:05 nepto Exp $ */ |
/* $Platon: scripts/php/sk-nic/sk-nic.php,v 1.6 2011-08-11 08:50:54 nepto Exp $ */ |
| |
|
| |
|
| error_reporting(E_ALL); |
error_reporting(E_ALL); |
| Line 37 if (file_exists(dirname(__FILE__).'/conf |
|
| Line 37 if (file_exists(dirname(__FILE__).'/conf |
|
| |
|
| require_once dirname(__FILE__).'/SK-NIC.php'; |
require_once dirname(__FILE__).'/SK-NIC.php'; |
| |
|
| |
# This enables CLIENT_LOCAL_FILES flag, see: |
| |
# http://www.php.net/manual/en/mysql.constants.php |
| |
$dsn .= '?client_flags=128'; |
| $sk_nic = new SK_NIC($dsn); |
$sk_nic = new SK_NIC($dsn); |
| if ($sk_nic->doImport($filename)) { |
if ($sk_nic->doImport($filename)) { |
| $sk_nic->checkImport(); |
$sk_nic->checkImport(); |
Platon Group <platon@platon.org> http://platon.org/
|
|