Some changes and bug fixes.
parent
77cb58b951
commit
11022c204d
|
|
@ -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>
|
<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>
|
||||||
<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>
|
</p>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ require_once('entry.php');
|
||||||
|
|
||||||
$configFile = Absolute_Path."config.php";
|
$configFile = Absolute_Path."config.php";
|
||||||
if(file_exists($configFile)){
|
if(file_exists($configFile)){
|
||||||
require($configFile);
|
require_once($configFile);
|
||||||
}else{
|
}else{
|
||||||
exit("You need to rename config-sample.php to config.php and fill out the required details.");
|
exit("You need to rename config-sample.php to config.php and fill out the required details.");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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>";
|
<p>This either means that you did not rename the <code>config-sample.php</code> file to <code>config.php</code>.</p>";
|
||||||
die($mensaje);
|
die($mensaje);
|
||||||
} else {
|
} else {
|
||||||
require($configFile);
|
require_once($configFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
$sqlStr = "INSERT INTO `".Table_prefix."options` VALUES ('shorten_links', '0');";
|
$sqlStr = "INSERT INTO `".Table_prefix."options` VALUES ('shorten_links', '0');";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue