More configurability through config.php
This commit is contained in:
10
js/pamela-conf.php
Normal file
10
js/pamela-conf.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
require_once("../config.php");
|
||||
header('Content-Type: application/javascript');
|
||||
?>
|
||||
config = new function() {
|
||||
this.bgcolor = "<?php echo PAM_BGCOLOR; ?>";
|
||||
this.image = "<?php echo PAM_IMAGE; ?>";
|
||||
this.buttonColor = "<?php echo PAM_BUT_COLOR; ?>";
|
||||
this.buttonShow = <?php echo PAM_BUT_SHOW=="TRUE"?"true":"false"; ?>;
|
||||
}
|
||||
Reference in New Issue
Block a user