Explorar el Código

Add files via upload

Daniele Bonini (皮夕): WebDev and DevOps by lots of Simplicity bits hace 3 años
padre
commit
a9c754cdf1
Se han modificado 2 ficheros con 10 adiciones y 2 borrados
  1. 7 0
      config.inc.sample
  2. 3 2
      index.php

+ 7 - 0
config.inc.sample

@@ -30,6 +30,10 @@ define('DEBUG', true);
  
 define('APP_NAME', "Actitude");
 
+define('APP_TITLE', "Actitude");
+define('APP_DESCRIPTION', "Welcome to Actitude! Let everyone register and support you.");
+define('APP_KEYWORDS', "event,registration,support,supportes,hugs,list,on,premise,solution");
+
 // password: yourpassword
 // salt: yoursalt
 define('APP_HASH', "");
@@ -67,6 +71,9 @@ $CONFIG = [
 
    'APP' => [
       'NAME' => "Actitude",
+      'TITLE' => "Actitude",
+      'APP_DESCRIPTION' => "Welcome to Actitude! Let everyone register and support you.",
+      'APP_KEYWORDS' => "event,registration,support,supportes,hugs,list,on,premise,solution",
       'HASH' => "",  
       'SPLASH' => true,
       'PATH' => "/var/www/YourWebApp",

+ 3 - 2
index.php

@@ -554,11 +554,12 @@
  -->
   
     
-  <title>Actitude: let everyone register or support you.</title>
+  <title><?php echo(APP_TITLE); ?></title>
 	
   <link rel="shortcut icon" href="/favicon.ico?v=<?php echo(time()); ?>>" />
     
-  <meta name="description" content="Welcome to Actitude"/>
+  <meta name="description" content="<?php echo(APP_DESCRIPTION); ?>"/>
+  <meta name="keywords" content="<?php echo(APP_KEYWORDS); ?>"/>
   <meta name="author" content="5 Mode"/> 
   <meta name="robots" content="index,follow"/>