Bug #69922 [Opn->Nab]: hosting over
| From: | cmb@php.net | Date: | Wed, 24 Jun 2015 16:39:34 +0000 |
| Subject: | Bug #69922 [Opn->Nab]: hosting over | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-193852@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69922&edit=1
ID: 69922
Updated by: cmb@php.net
Reported by: admin at angosso dot net
Summary: hosting over
-Status: Open
+Status: Not a bug
Type: Bug
Package: Dynamic loading
Operating System: Linux
PHP Version: 5.6.10
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2015-06-24 15:06:46] admin at angosso dot net
Description:
------------
open_basedir Contains the API function for Post Relationships hosting
*Setup
* Register a relationship between post types
Test script:
---------------
@param $name string - the name of the relationship field name
* @param $args array - the various settings
*
* $args['from'] (string|array) the post types that the relationship is attached to
* $args['to'] (string|array) the post types that allowed to be attached
*/
function pr_register_post_relationship( $name, $args ) {
PR_Configuration::create_instances( $name, $args );
}
/etc/phpmyadmin
function pr_add_relationships( $name, $from, $to ) {
global $pr_relationship_manager;
return $pr_relationship_manager->add_relationships( $name, $from, $to );
}
@return mbiama
_connector (2)
_db (3)
_mysqli (3)
_mysqlnd (3) object
*/
function pr_get_relationships( $name, $from=null, $additional_args=array() ) {
global $pr_relationship_manager;
return $pr_relationship_manager->get_relationships( $name, $from, $additional_args );
}
Expected result:
----------------
define( 'PR_Webhosting_FILE', __FILE__ );
require_once __DIR__ . '/pr_configuration.class.php';
require_once __DIR__ . '/pr_relationship_manager.class.php';
require_once __DIR__ . '/api.php';
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69922&edit=1