Changeset 552 for trunk/plog-admin/includes/install-functions.php
- Timestamp:
- 07/07/08 14:56:01 (5 months ago)
- Files:
-
- 1 modified
-
trunk/plog-admin/includes/install-functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plog-admin/includes/install-functions.php
r551 r552 1 1 <?php 2 if (basename($_SERVER['PHP_SELF']) == basename( __FILE__ )) { 3 // ignorance is bliss 4 exit(); 5 } 6 2 7 if (!defined('PLOGGER_DIR')) { 3 8 return false; 4 9 } 10 11 @include_once(PLOGGER_DIR.'plog-config.php'); 5 12 require_once(PLOGGER_DIR.'plog-admin/plog-admin-functions.php'); 6 @include(PLOGGER_DIR.'plog-config.php');7 13 8 14 function do_install($form) { … … 367 373 mysql_query($query) or die(mysql_error().'<br /><br />'. $query); 368 374 369 mail($config['admin_email'],"Your new gallery","You have successfully installed your new Plogger gallery. You can manage it at ${config['gallery_url']}plog-admin Username is ${config['admin_username']} and password ${config['admin_password']}.");375 mail($config['admin_email'],"Your new gallery","You have successfully installed your new Plogger gallery. You can manage it at ${config['gallery_url']}plog-admin Username is `${config['admin_username']}` and password `${config['admin_password']}`."); 370 376 } 371 377 … … 464 470 } 465 471 466 $files_to_write = array("./ ","./plog-content/images","./plog-content/thumbs", "./plog-content/uploads");472 $files_to_write = array("./plog-content/images","./plog-content/thumbs", "./plog-content/uploads"); 467 473 foreach($files_to_write as $file){ 468 474 if (!is_writable(PLOGGER_DIR . $file)){
