GNU social

Check-in [1e9129cd27]
Login

Check-in [1e9129cd27]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix conflicting with standard PEAR When I install GNU social, following #254 error was occured. ``` Install GNU social Page notice Initializing... Fatal error: Cannot redeclare _PEAR_call_destructors() (previously declared in /home/fuccom/public_html/social/extlib/PEAR.php:774) in /opt/cpanel/ea-php73/root/usr/share/pear/PEAR.php on line 834 ``` It seems GNU social have many standard PEAR related trouble (lib/util/framework.php). So I prior extlib/PEAR.php to standard PEAR.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 1e9129cd274ecbbc15b2697b381a787b25e05e4f4f5334e498cae71ddf9d9f60
User & Date: develop@senooken.jp 2022-10-15 15:52:28
Context
2023-02-17
10:15
Merge remote-tracking branch 'origin/docker-support' check-in: c3a6799184 user: develop@senooken.jp tags: trunk, media-uploading
2022-10-15
15:52
Fix conflicting with standard PEAR When I install GNU social, following #254 error was occured. ``` Install GNU social Page notice Initializing... Fatal error: Cannot redeclare _PEAR_call_destructors() (previously declared in /home/fuccom/public_html/social/extlib/PEAR.php:774) in /opt/cpanel/ea-php73/root/usr/share/pear/PEAR.php on line 834 ``` It seems GNU social have many standard PEAR related trouble (lib/util/framework.php). So I prior extlib/PEAR.php to standard PEAR. Leaf check-in: 1e9129cd27 user: develop@senooken.jp tags: trunk
2022-08-15
14:01
Merge branch 'master' of DelilahHoare/gnu-social into master Leaf check-in: 4399b37230 user: gogitservice@gmail.com tags: trunk, origin/1.2.x, origin/1.1.x, origin/1.5, master, before-gnusocialjp
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to lib/util/framework.php.

81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
define('URL_REGEX_EXCLUDED_END_CHARS', '\?\.\,\!\#\:\'');  // don't include these if they are directly after a URL
define('URL_REGEX_DOMAIN_NAME', '(?:(?!-)[A-Za-z0-9\-]{1,63}(?<!-)\.)+[A-Za-z]{2,10}');

// Autoload composer dependencies
require_once INSTALLDIR . '/vendor/autoload.php';

// append our extlib dir as the last-resort place to find libs
set_include_path(get_include_path() . PATH_SEPARATOR . INSTALLDIR . '/extlib/');

// global configuration object

// This is awful but system's PEAR always gives us issues, we've patched it
require_once INSTALLDIR . '/extlib/' . 'PEAR.php';
require_once INSTALLDIR . '/extlib/' . 'PEAR/Exception.php';
global $_PEAR;







|







81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
define('URL_REGEX_EXCLUDED_END_CHARS', '\?\.\,\!\#\:\'');  // don't include these if they are directly after a URL
define('URL_REGEX_DOMAIN_NAME', '(?:(?!-)[A-Za-z0-9\-]{1,63}(?<!-)\.)+[A-Za-z]{2,10}');

// Autoload composer dependencies
require_once INSTALLDIR . '/vendor/autoload.php';

// append our extlib dir as the last-resort place to find libs
set_include_path(INSTALLDIR . '/extlib/' . PATH_SEPARATOR . get_include_path());

// global configuration object

// This is awful but system's PEAR always gives us issues, we've patched it
require_once INSTALLDIR . '/extlib/' . 'PEAR.php';
require_once INSTALLDIR . '/extlib/' . 'PEAR/Exception.php';
global $_PEAR;