/[drupal]/contributions/modules/sympal_scripts/script_settings.php
ViewVC logotype

Contents of /contributions/modules/sympal_scripts/script_settings.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Wed Jul 5 09:40:56 2006 UTC (3 years, 4 months ago) by ber
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-php
Moving the scripts from "tricks" into modules to allow proper project.module integration!
1 <?php
2 /**
3 * @file: Script to set the global environment for the scripts in Drupal
4 */
5 global $template_dir, $drupal_dir, $sql_binary;
6 /**
7 * Template dir is where the templates are stored. Should be relative to the drupal root.
8 * Omit trailing slash.
9 */
10 $template_dir = './templates';
11
12 /**
13 * Drupal dir is the dir where you have drupal running.
14 * It is adviced not to put these scripts in a place where apache can exectue them
15 * NOTE: no trailing slash!
16 */
17 $drupal_dir = '/var/www/drupal';
18
19 /**
20 * location of mysql
21 * invoke "which mysql" on the commandline to find the binary.
22 * TODO make this postgre and mssql friendly
23 */
24 $sql_binary = 'mysql';
25
26 /**
27 * User settings
28 * Define the user and group that become owner of the direcories and files.
29 * TODO allow this as optional commandline parameter
30 */
31 $file_user = 'www-data';
32 $file_group = 'www-data';
33 ?>

  ViewVC Help
Powered by ViewVC 1.1.2