Skip to content

Commit

Permalink
Merge pull request #195 from plessbd/updateError.js.php
Browse files Browse the repository at this point in the history
Update Error.js.php
  • Loading branch information
plessbd authored Jul 26, 2017
2 parents d7cdb84 + 5b70d1b commit 723b55a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions html/gui/js/Error.js.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<?php

require_once('../../../configuration/linker.php');
\xd_response\useDynamicJavascriptHeaders();

?>
/**
* Error.js.php
*
Expand All @@ -9,12 +15,6 @@

<?php

require_once('../../../configuration/linker.php');

\xd_response\useDynamicJavascriptHeaders();

foreach (XDError::getErrorCodes() as $errorName => $errorCode) {
echo "XDMoD.Error.$errorName = $errorCode;\n";
}

?>
foreach (XDError::getErrorCodes() as $errorName => $errorCode) {
echo "XDMoD.Error.$errorName = $errorCode;\n";
}

0 comments on commit 723b55a

Please sign in to comment.