disabled some scripts
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
#!/usr/bin/php
|
||||
<?php
|
||||
|
||||
// ivtcustomer id blacklist
|
||||
//$blacklist = [3805];
|
||||
|
||||
//require 'vendor/autoload.php';
|
||||
exit;
|
||||
require("../config/config.php");
|
||||
|
||||
define('FRONKDB_SQLDEBUG',false);
|
||||
@@ -17,8 +13,6 @@ require_once(LIBDIR."/mvcfronk/mfBase/mfBaseController.php");
|
||||
$me = new User(1);
|
||||
|
||||
$db = FronkDB::singleton();
|
||||
//$ivt = new FronkDB(IVT_DBHOST, IVT_DBUSER, IVT_DBPASS, IVT_DBNAME);
|
||||
|
||||
|
||||
$sql = "SELECT * FROM Address WHERE customer_number < 100000 AND customer_number > 1";
|
||||
$res = $db->query($sql);
|
||||
@@ -47,4 +41,4 @@ while($data = $db->fetch_object($res)) {
|
||||
if(!$address->save()) {
|
||||
echo "Error updateing address";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/php
|
||||
<?php
|
||||
|
||||
exit;
|
||||
//require 'vendor/autoload.php';
|
||||
require("../config/config.php");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user