Merge pull request #610 from fermionic/20130208-duepuntozero-install-crash

move all commands inside the duepuntozero_init() function
This commit is contained in:
fermionic 2013-02-08 08:09:30 -08:00
commit 7c1c2d8869

View file

@ -1,8 +1,10 @@
<?php <?php
function duepuntozero_init(&$a) {
$a->theme_info = array(); $a->theme_info = array();
set_template_engine($a, 'smarty3'); set_template_engine($a, 'smarty3');
function duepuntozero_init(&$a) {
$a->page['htmlhead'] .= <<< EOT $a->page['htmlhead'] .= <<< EOT
<script> <script>
function insertFormatting(comment,BBcode,id) { function insertFormatting(comment,BBcode,id) {