diff --git a/asset/negundo/js/debug.js b/asset/negundo/js/debug.js index 29d9977..55f7775 100644 --- a/asset/negundo/js/debug.js +++ b/asset/negundo/js/debug.js @@ -22,6 +22,9 @@ class ErrorHandler } catchError() { + + console.log(this.url); + window.onerror = function(message, url, line, column, error) { // build l'url ET l'api key ensemble pour créer l'URL de réception de bug @@ -57,10 +60,10 @@ class ErrorHandler } get apikey() { - return this._url; + return this._apikey; } set apikey(set) { - return this._url = set; + return this._apikey = set; } } diff --git a/meta/negundo.php b/meta/negundo.php index ee8f8f8..3401146 100644 --- a/meta/negundo.php +++ b/meta/negundo.php @@ -17,13 +17,13 @@ return [ 'path' => implode(DIRECTORY_SEPARATOR, [ dirname(__DIR__), "asset", '' ]), 'order' => 10 ], - 'view' => [ - [ - 'path' => implode(DIRECTORY_SEPARATOR, [ $path , "view", '' ]), - 'order' => 99, - ], + ], + 'view' => [ + [ + 'path' => implode(DIRECTORY_SEPARATOR, [ dirname(__DIR__), "view", '' ]), + 'order' => 99, ], - ] + ], ], ], ]; diff --git a/view/negundo/client_bugs.phtml b/view/negundo/client_bugs.phtml index 8f1ba3a..643f144 100644 --- a/view/negundo/client_bugs.phtml +++ b/view/negundo/client_bugs.phtml @@ -2,7 +2,7 @@ \ No newline at end of file