fixed IGB HTTP_HEADER Bug on Nginx servers

fixed PHP warnings in STRICT mode
added .htaccess for HTTP or HTTPS server configuration
added *.js files for v1.1.1RC1
This commit is contained in:
Exodus4D
2016-01-08 22:30:38 +01:00
parent 8c12599c22
commit 6e978545e9
35 changed files with 148 additions and 81 deletions

View File

@@ -139,68 +139,6 @@ class Setup extends Controller {
$f3->set('checkDatabase', $this->checkDatabase($f3, $fixColumns));
}
/**
* import/upload table data from *.csv
* path: export/db/$tableName.svg
* @param $tableIndex
* @return array
*/
/*
protected function importTableData($tableIndex){
$importStatus = [];
// check if tableIndex exists as model class
if(array_key_exists($tableIndex, $this->databases['PF']['models'])){
$db = DB\Database::instance()->getDB('PF');
$modelClass = $this->databases['PF']['models'][$tableIndex];
$model = new $modelClass($db);
$status = $model->importData();
if($status){
$importStatus[] = [
'status' => $model->getTable(),
'message' => 'Added: ' . $status['added'] . ' ' .
'Updated: ' . $status['updated'] . ' ' .
'Deleted: ' . $status['deleted']
];
}
}
return $importStatus;
}
*/
/**
* export/download table data as *.csv
* target dir export/db/$tableName.svg
* @param $tableIndex
* @return array
*/
/*
protected function exportTableData($tableIndex){
$exportStatus = [];
// check if tableIndex exists as model class
if(array_key_exists($tableIndex, $this->databases['PF']['models'])){
$db = DB\Database::instance()->getDB('PF');
$modelClass = $this->databases['PF']['models'][$tableIndex];
$model = new $modelClass($db);
$status = $model->exportData();
if( !$status ){
// error
$error = (object) [];
$error->code = 503;
$error->status = $model->getTable();
$error->message = 'No data for export found. Table empty?';
$exportStatus[] = $error;
}
}
return $exportStatus;
}
*/
/**
* get server information
* @param $f3