Changeset 2020 in subversion
- Timestamp:
- Oct 27, 2008 4:11:32 PM (5 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 2 added
- 2 edited
-
bin/update.sh (added)
-
installer/index.php (modified) (2 diffs)
-
installer/rcube_install.php (modified) (2 diffs)
-
installer/utils.php (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/installer/index.php
r1979 r2020 1 1 <?php 2 2 3 ini_set('error_reporting', E_ALL&~E_NOTICE); 3 4 ini_set('display_errors', 1); … … 13 14 set_include_path($include_path); 14 15 16 require_once 'utils.php'; 17 15 18 session_start(); 16 17 /**18 * Use PHP5 autoload for dynamic class loading19 * (copy from program/incllude/iniset.php)20 */21 function __autoload($classname)22 {23 $filename = preg_replace(24 array('/MDB2_(.+)/', '/Mail_(.+)/', '/^html_.+/', '/^utf8$/'),25 array('MDB2/\\1', 'Mail/\\1', 'html', 'utf8.class'),26 $classname27 );28 include_once $filename. '.php';29 }30 19 31 20 $RCI = rcube_install::get_instance(); -
trunk/roundcubemail/installer/rcube_install.php
r1977 r2020 131 131 function create_config($which, $force = false) 132 132 { 133 $out = file_get_contents( "../config/{$which}.inc.php.dist");133 $out = file_get_contents(RCMAIL_CONFIG_DIR . "/{$which}.inc.php.dist"); 134 134 135 135 if (!$out) … … 543 543 } 544 544 545 546 /**547 * Shortcut function for htmlentities()548 *549 * @param string String to quote550 * @return string The html-encoded string551 */552 function Q($string)553 {554 return htmlentities($string);555 }556 557 558 /**559 * Fake rinternal error handler to catch errors560 */561 function raise_error($p)562 {563 $rci = rcube_install::get_instance();564 $rci->raise_error($p);565 }566
Note: See TracChangeset
for help on using the changeset viewer.
