Commit a4b731e1 authored by techird's avatar techird

fix

parent b72e1575
This diff is collapsed.
...@@ -64,9 +64,9 @@ $dependency = Array( ...@@ -64,9 +64,9 @@ $dependency = Array(
$content = ""; $content = "";
header('Content-Type: text/javascript; charset=utf-8');
foreach ($dependency as $index => $dep) { foreach ($dependency as $index => $dep) {
if( $_GET['join'] != null || $argv[1] == 'join') { if( $_GET['join'] != null || $argv[1] == 'join') {
header('Content-Type: text/javascript; charset=utf-8');
echo file_get_contents("../$dep")."\n\n"; echo file_get_contents("../$dep")."\n\n";
} else { } else {
echo "document.write('<script charset=utf-8 src=\"../$dep\"></script>');"; echo "document.write('<script charset=utf-8 src=\"../$dep\"></script>');";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment