Commit a4b731e1 authored by techird's avatar techird

fix

parent b72e1575
This diff is collapsed.
......@@ -64,9 +64,9 @@ $dependency = Array(
$content = "";
header('Content-Type: text/javascript; charset=utf-8');
foreach ($dependency as $index => $dep) {
if( $_GET['join'] != null || $argv[1] == 'join') {
header('Content-Type: text/javascript; charset=utf-8');
echo file_get_contents("../$dep")."\n\n";
} else {
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