Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 12 commits
  • 16 files changed
  • 0 commit comments
  • 1 contributor
View
BIN  bin/MySql.Data.dll
Binary file not shown
View
BIN  bin/PhpNetClassLibrary.dll
Binary file not shown
View
BIN  bin/PhpNetCore.dll
Binary file not shown
View
BIN  bin/PhpNetMySql.dll
Binary file not shown
View
BIN  bin/PhpNetXmlDom.dll
Binary file not shown
View
BIN  bin/ShmChannel.dll
Binary file not shown
View
BIN  bin/php4ts.dll
Binary file not shown
View
BIN  bin/php5ts.dll
Binary file not shown
View
BIN  bin/php_image.dll
Binary file not shown
View
BIN  bin/php_image.mng.dll
Binary file not shown
View
BIN  bin/php_xml.dll
Binary file not shown
View
BIN  bin/php_xml.mng.dll
Binary file not shown
View
BIN  bin/php_zlib.dll
Binary file not shown
View
BIN  bin/php_zlib.mng.dll
Binary file not shown
View
61 web.config
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <configSections>
+ <section name="phpNet" type="PHP.Core.ConfigurationSectionHandler, PhpNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0a8e8c4c76728c71" />
+ </configSections>
+ <system.webServer>
+ <handlers>
+ <add name="Phalanger" path="*.php" verb="*" type="PHP.Core.RequestHandler, PhpNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0a8e8c4c76728c71" />
+ </handlers>
+ <defaultDocument>
+ <files>
+ <add value="index.php" />
+ </files>
+ </defaultDocument>
+ <httpErrors errorMode="Detailed">
+ <clear />
+ </httpErrors>
+ </system.webServer>
+ <system.web>
+ <compilation targetFramework="4.0" />
+ <globalization responseEncoding="utf-8" fileEncoding="utf-8" />
+ <httpRuntime requestPathInvalidCharacters="" requestValidationMode="2.0" />
+ <pages validateRequest="false" />
+ </system.web>
+ <appSettings>
+ <add key="MYSQL_CONNECTION_STRING" value="server=localhost:3306;database=wordpress_dev;uid=root;pwd=toor" />
+ </appSettings>
+ <phpNet>
+ <compiler>
+ <set name="EnableStaticInclusions" value="true" />
+ </compiler>
+ <error-control>
+ <set name="DisplayErrors" value="false" phpName="display_errors" />
+ </error-control>
+ <classLibrary>
+ <add assembly="PhpNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0a8e8c4c76728c71"/>
+ <add assembly="PhpNetClassLibrary, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4af37afe3cde05fb" section="bcl" />
+ <add assembly="PhpNetXmlDom, Version=3.0.0.0, Culture=neutral, PublicKeyToken=2771987119c16a03" section="dom" />
+ <add assembly="php4ts, Version=3.0.0.0, Culture=neutral, PublicKeyToken=43B6773FB05DC4F0"/>
+ <add assembly="PhpNetMySql, Version=3.0.0.0,Culture=Neutral, PublicKeyToken=2771987119c16a03" section="mysql" />
+ <add assembly="php_xml.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="xml" />
+ <add assembly="php_image.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="image" />
+ <add assembly="php_zlib.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="zlib" />
+ <add assembly="System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+ </classLibrary>
+
+ <globalization>
+ <set name="PageEncoding" value="utf-8" />
+ </globalization>
+ <bcl>
+ <mailer>
+ <!-- SMTP server name used for sending e-mails. -->
+ <set name="SmtpServer" value="127.0.0.1" phpName="SMTP" />
+ <!-- SMTP server port used for sending e-mails. -->
+ <set name="SmtpPort" value="25" phpName="smtp_port" />
+ <!-- The default value of "From" header. -->
+ <set name="DefaultFromHeader" value="info@phpcompiler.net" phpName="sendmail_from" />
+ </mailer>
+ </bcl>
+ </phpNet>
+</configuration>
View
15 wp-config-sample.php → wp-config.php
@@ -1,4 +1,5 @@
<?php
+use System\Configuration;
/**
* The base configurations of the WordPress.
*
@@ -16,23 +17,25 @@
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
-define('DB_NAME', 'database_name_here');
+
+parse_str(str_replace(';', '&', Configuration\ConfigurationManager::$AppSettings->get_Item("MYSQL_CONNECTION_STRING")));
+
+define('DB_NAME', $database);
/** MySQL database username */
-define('DB_USER', 'username_here');
+define('DB_USER', $uid);
/** MySQL database password */
-define('DB_PASSWORD', 'password_here');
+define('DB_PASSWORD', $pwd);
/** MySQL hostname */
-define('DB_HOST', 'localhost');
+define('DB_HOST', $server);
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
-
/**#@+
* Authentication Unique Keys and Salts.
*
@@ -71,6 +74,8 @@
*/
define('WPLANG', '');
+define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST']);
+define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST']);
/**
* For developers: WordPress debugging mode.
*

No commit comments for this range

Something went wrong with that request. Please try again.