Changeset 1719

Show
Ignore:
Timestamp:
04/19/2008 11:10:58 AM (7 months ago)
Author:
jeena
Message:

die if the setup has been done already

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/setup.php

    r1688 r1719  
    33   -- Please delete this file if you have done the setup 
    44*/ 
     5 
     6 if(file_exists(dirname( __FILE__ ).DIRECTORY_SEPARATOR.'personal'.DIRECTORY_SEPARATOR.'settings.inc.php')) { 
     7     die("The setup has already been sucessfull!"); 
     8 } 
    59 
    610 // derzeit gibt es noch etliche E_NOTICE-Meldungen in JLog, deshalb: 
     
    204208  if(!fopen(JLOG_BASEPATH."personal".DIRECTORY_SEPARATOR."subcurrent.inc", "w")) $errors[] = $l['admin']['s_problem_fwrite']." /personal/subcurrent.inc"; 
    205209 
    206   // chmod 777 so that the user have the ability to delete/write to this files 
     210  // chmod 666 so that the user have the ability to delete/write to this files 
    207211  if(!chmod(JLOG_BASEPATH."personal".DIRECTORY_SEPARATOR."settings.inc.php", 0666)) $errors[] = $l['admin']['s_problem_chmod']." /personal/settings.inc.php"; 
    208212  if(!chmod(JLOG_BASEPATH."personal".DIRECTORY_SEPARATOR."rss.xml", 0666)) $errors[] = $l['admin']['s_problem_chmod']." /personal/rss.xml";