Merge branch 'master' of ssh://gitlab.chiefsoft.net:10221/WrenchBoard/WrenchBoradWeb
This commit is contained in:
@@ -459,6 +459,9 @@ composer.phar
|
|||||||
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
|
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
|
||||||
composer.lock
|
composer.lock
|
||||||
|
|
||||||
|
##### CodeIgniter
|
||||||
|
/writable/
|
||||||
|
|
||||||
##### PHP CodeSniffer
|
##### PHP CodeSniffer
|
||||||
# gitignore for the PHP Codesniffer framework
|
# gitignore for the PHP Codesniffer framework
|
||||||
# website: https://github.com/squizlabs/PHP_CodeSniffer
|
# website: https://github.com/squizlabs/PHP_CodeSniffer
|
||||||
|
|||||||
@@ -247,7 +247,7 @@ $config['log_threshold'] = 0;
|
|||||||
| application/logs/ directory. Use a full server path with trailing slash.
|
| application/logs/ directory. Use a full server path with trailing slash.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
$config['log_path'] = '';
|
$config['log_path'] = APPPATH.'../writable/logs/';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
@@ -306,7 +306,7 @@ $config['error_views_path'] = '';
|
|||||||
| application/cache/ directory. Use a full server path with trailing slash.
|
| application/cache/ directory. Use a full server path with trailing slash.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
$config['cache_path'] = '';
|
$config['cache_path'] = APPPATH.'../writable/cache/';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
@@ -393,7 +393,7 @@ $config['encryption_key'] = '';
|
|||||||
$config['sess_driver'] = 'files';
|
$config['sess_driver'] = 'files';
|
||||||
$config['sess_cookie_name'] = 'ci_session';
|
$config['sess_cookie_name'] = 'ci_session';
|
||||||
$config['sess_expiration'] = 7200;
|
$config['sess_expiration'] = 7200;
|
||||||
$config['sess_save_path'] = NULL;
|
$config['sess_save_path'] = APPPATH.'../writable/session';
|
||||||
$config['sess_match_ip'] = FALSE;
|
$config['sess_match_ip'] = FALSE;
|
||||||
$config['sess_time_to_update'] = 300;
|
$config['sess_time_to_update'] = 300;
|
||||||
$config['sess_regenerate_destroy'] = FALSE;
|
$config['sess_regenerate_destroy'] = FALSE;
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ class Backend_model extends CI_Model {
|
|||||||
$stack = debug_backtrace();
|
$stack = debug_backtrace();
|
||||||
$log = json_encode($stack);
|
$log = json_encode($stack);
|
||||||
error_log($log);
|
error_log($log);
|
||||||
error_log(json_encode($in));
|
error_log($str);
|
||||||
}
|
}
|
||||||
$ret = $this->wrenchboard->logMessage($str);
|
$ret = $this->wrenchboard->logMessage($str);
|
||||||
return $ret;
|
return $ret;
|
||||||
@@ -71,7 +71,7 @@ class Backend_model extends CI_Model {
|
|||||||
$stack = debug_backtrace();
|
$stack = debug_backtrace();
|
||||||
$log = json_encode($stack);
|
$log = json_encode($stack);
|
||||||
error_log($log);
|
error_log($log);
|
||||||
error_log(json_encode($in));
|
error_log($str);
|
||||||
}
|
}
|
||||||
$ret = $this->wrenchboard->cfgReadChar($str);
|
$ret = $this->wrenchboard->cfgReadChar($str);
|
||||||
return $ret;
|
return $ret;
|
||||||
@@ -86,14 +86,14 @@ class Backend_model extends CI_Model {
|
|||||||
$stack = debug_backtrace();
|
$stack = debug_backtrace();
|
||||||
$log = json_encode($stack);
|
$log = json_encode($stack);
|
||||||
error_log($log);
|
error_log($log);
|
||||||
error_log(json_encode($in));
|
error_log($str);
|
||||||
}
|
}
|
||||||
$ret = $this->wrenchboard->cfgReadLong($str);
|
$ret = $this->wrenchboard->cfgReadLong($str);
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function wrenchboard_load() {
|
private function wrenchboard_load() {
|
||||||
global $wrenchboard;
|
//global $wrenchboard;
|
||||||
// $this->$USER = $_SERVER['SCRIPT_FILENAME'];
|
// $this->$USER = $_SERVER['SCRIPT_FILENAME'];
|
||||||
$wrenchboard_class = 'wrenchboard_api_' . $this->USER . '\\WrenchBoard';
|
$wrenchboard_class = 'wrenchboard_api_' . $this->USER . '\\WrenchBoard';
|
||||||
/* if (is_object($wrenchboard) && is_object($wrenchboard->wrenchboard)) {
|
/* if (is_object($wrenchboard) && is_object($wrenchboard->wrenchboard)) {
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
<?
|
<?
|
||||||
var_dump($GLOBALS);
|
|
||||||
if (!array_key_exists('wrenchboard', $GLOBALS)) {
|
if (!array_key_exists('wrenchboard', $GLOBALS)) {
|
||||||
class WrenchBoardAPIWrapper {
|
class WrenchBoardAPIWrapper {
|
||||||
const DEBUG_API_CALLS = true;
|
const DEBUG_API_CALLS = true;
|
||||||
|
|||||||
Vendored
Reference in New Issue
Block a user