Changeset 43364 in spip-zone


Ignore:
Timestamp:
Jan 7, 2011, 8:19:13 AM (10 years ago)
Author:
cedric@…
Message:

eviter un NOTICE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _core_/tests/index.php

    r42754 r43364  
    11<?php
    2         $dir = $_GET['dir'] ? $_GET['dir'] : '..';
     2        $dir = (isset($_GET['dir']) AND ($_GET['dir'])) ? $_GET['dir'] : '..';
    33        chdir($dir);
    44        require 'ecrire/inc_version.php';
Note: See TracChangeset for help on using the changeset viewer.