Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 17 lines (13 sloc) 0.378 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?php
/**
* Please dont touch this. This is the JavaScript Variable Generator.
*
* @author Nahuel Rosso
* @version 1.0
*/

require_once 'config.php';

header("Content-type: text/javascript");

$jsVars = copperConfig::get('visibleVars');

foreach ($jsVars as $key => $val) {
  echo "var " . strtoupper(copperStr::revertCamelize($key)) . " = " . json_encode($val) . ";\n";
}
Something went wrong with that request. Please try again.