Changeset 228 for trunk/admin/update.php


Ignore:
Timestamp:
Nov 3, 2003, 10:35:24 PM (21 years ago)
Author:
z0rglub
Message:

Modifications linked to the move of admin.php to the root directory of PhpWebGallery

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/update.php

    r226 r228  
    2323{
    2424  global $conf, $page, $user, $lang;
    25                
     25
    2626  $site_id = 1;
    27                
     27
    2828  // 0. retrieving informations on the category to display
    29   $cat_directory = '../galleries';
    30                
     29  $cat_directory = './galleries';
     30
    3131  if ( is_numeric( $cat_id ) )
    3232  {
     
    6565  {
    6666    // retrieving the directory
    67     $rep = '../galleries/'.get_local_dir( $row['id'] );
     67    $rep = './galleries/'.get_local_dir( $row['id'] );
    6868    // is the directory present ?
    6969    if ( !is_dir( $rep ) ) delete_category( $row['id'] );
     
    589589  $vtp->closeSession( $sub, 'introduction' );
    590590}
    591 //------------------------------------------------- local update : ../galleries
     591//-------------------------------------------------- local update : ./galleries
    592592else
    593593{
Note: See TracChangeset for help on using the changeset viewer.