File: mes_options.php

package info (click to toggle)
spip 3.0.17-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 30,776 kB
  • sloc: php: 200,550; xml: 4,367; sh: 272; makefile: 39
file content (22 lines) | stat: -rw-r--r-- 867 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
    require '/usr/share/spip/mutualisation/mutualiser.php';
    require '/etc/spip/multisite.php';
    $site = spip_get_site($_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
    define('_DIR_PLUGINS_SUPPL', _DIR_RACINE . "sites/$site/plugins/");
    define('_DIR_PLUGINS_AUTO', _DIR_RACINE . "sites/$site/plugins/auto/");
    demarrer_site($site
     // See http://www.spip-contrib.net/La-mutualisation-facile
     // for complete parameters definitions
     ,array(
     //   'creer_site' => true,
     //   'creer_base' => true,
     //   'code' => 'plouf',
     //   Enable the following for having links to
     //   images as '/IMG/jpg/image.jpg' instead of
     //   '/sites/spip.domain.org/IMG/jpg/image.jpg'
          'url_img_courtes' => true,
     //   'creer_user_base' => true,
     //   'mail' => 'admmin@spip.domain.org'
         )   
     );
?>