Skip to content

Commit

Permalink
instanse name now in config
Browse files Browse the repository at this point in the history
  • Loading branch information
nhoizey committed Feb 22, 2012
1 parent a2079a4 commit 3f24cc8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/header.php
Expand Up @@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>Cas.im/ir - Yet Another URL Shortener</title>
<title><?php echo INSTANCE_NAME; ?></title>
<link rel="stylesheet" type="text/css" media="screen" href="screen.css" />
<?php
if (file_exists('user/screen.css')) {
Expand All @@ -15,5 +15,5 @@

<body onload="document.getElementById('long').focus();">
<div id="main">
<h1><a href="<?php echo $casimir->base_url; ?>">Cas.im/ir</a></h1>
<h2>Yet Another URL Shortener</h2>
<h1><a href="<?php echo $casimir->base_url; ?>"><?php echo INSTANCE_NAME; ?></a></h1>
3 changes: 3 additions & 0 deletions user/casimir-conf.php.example
@@ -1,4 +1,7 @@
<?php
// Instance name
define('INSTANCE_NAME', 'Cas.im/ir');

// MySQL connection
define('MYSQL_HOST', 'localhost');
define('MYSQL_USER', 'root');
Expand Down

0 comments on commit 3f24cc8

Please sign in to comment.