Skip to content

Commit

Permalink
tidy up js; make config.php mandatory
Browse files Browse the repository at this point in the history
git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@120 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
  • Loading branch information
Dave Goodwin committed Oct 3, 2011
1 parent 0203e8c commit 86bf7cf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions properties.php
@@ -1,6 +1,6 @@
<?PHP
<?php

include("config.php");
require_once("config.php");

?>

Expand All @@ -26,10 +26,10 @@

<script type="text/javascript" language="javascript">

var site_url = <?PHP require("config.php"); echo "\"" . $xerte_toolkits_site->site_url . "\";\n"; ?>
var properties_ajax_php_path = <?PHP echo "\"website_code/php/properties/\";"; ?>
var management_ajax_php_path = <?PHP echo "\"website_code/php/management/\";"; ?>
var ajax_php_path = <?PHP echo "\"website_code/php/\";"; ?>
var site_url = "<?php echo $xerte_toolkits_site->site_url; ?>";
var properties_ajax_php_path = "website_code/php/properties/";
var management_ajax_php_path = "website_code/php/management/";
var ajax_php_path = "website_code/php/";

</script>

Expand Down Expand Up @@ -217,4 +217,4 @@
</div>

</body>
</html>
</html>

0 comments on commit 86bf7cf

Please sign in to comment.