Some changes and bug fixes.

master
Victor De la Rocha 2008-10-24 06:51:48 +00:00
parent 77cb58b951
commit 11022c204d
3 changed files with 50 additions and 50 deletions

View File

@ -203,7 +203,7 @@ if ($user->isAdmin()) {
<span style="color: rgb(136, 136, 136); margin-bottom: 10px; font-size: 10px;"><a href="http://hobix.com/textile/">Textile</a> <?php echo __("syntax is supported.")?></span>
</p>
<p>
<input class="btn" type="submit" name="btnAdd" value="<?php echo ($isEdition) ? "Modify" : "Create"; ?> post" />
<input class="btn" type="submit" name="btnAdd" value="Create post" />
</p>
</fieldset>
</form>

View File

@ -16,7 +16,7 @@ require_once('entry.php');
$configFile = Absolute_Path."config.php";
if(file_exists($configFile)){
require($configFile);
require_once($configFile);
}else{
exit("You need to rename config-sample.php to config.php and fill out the required details.");
}

View File

@ -23,7 +23,7 @@ if (!file_exists($configFile)) {
<p>This either means that you did not rename the <code>config-sample.php</code> file to <code>config.php</code>.</p>";
die($mensaje);
} else {
require($configFile);
require_once($configFile);
}
$sqlStr = "INSERT INTO `".Table_prefix."options` VALUES ('shorten_links', '0');";